Skip to content
Start free evaluation

PDComm.Secs1IoStatus

Enum

The result status that a Secs1Read or Secs1Write callback reports to the endpoint.

public enum Secs1IoStatus : uint

A read that returns Secs1IoStatus.Ok with a count of 0, or Secs1IoStatus.Closed, means end of stream; a write that returns Secs1IoStatus.Ok with a count of 0 counts as Secs1IoStatus.WriteZero. Secs1IoStatus.WouldBlock and Secs1IoStatus.Interrupted keep the progress made so far and are retried on a later poll. Every other status faults the line. For any status other than Secs1IoStatus.Ok the count is ignored.

Members

Aborted

Enumerator

The connection was aborted.

Aborted = 8

AddressInUse

Enumerator

The address is already in use.

AddressInUse = 10

AddressUnavailable

Enumerator

The address is not available.

AddressUnavailable = 11

BrokenPipe

Enumerator

The peer closed the stream while writing.

BrokenPipe = 12

Closed

Enumerator

The serial port or stream is closed.

Closed = 3

Interrupted

Enumerator

The operation was interrupted; try again on a later poll.

Interrupted = 2

InvalidData

Enumerator

Invalid data was encountered.

InvalidData = 15

InvalidInput

Enumerator

An input parameter was invalid.

InvalidInput = 14

NotConnected

Enumerator

The stream is not connected.

NotConnected = 9

NotFound

Enumerator

The device was not found.

NotFound = 4

Ok

Enumerator

The operation transferred Secs1IoResult.Count bytes.

Ok = 0

Other

Enumerator

Any other failure; also reported when a callback throws.

Other = 16

Permission

Enumerator

Access was denied.

Permission = 5

Refused

Enumerator

The connection was refused.

Refused = 6

Reset

Enumerator

The connection was reset.

Reset = 7

TimedOut

Enumerator

The operation timed out.

TimedOut = 13

WouldBlock

Enumerator

No bytes are available now; try again on a later poll.

WouldBlock = 1

WriteZero

Enumerator

A write accepted zero bytes.

WriteZero = 17