eof
A read operation reached end-of-file. This usually means the remote peer closed the socket but it’s still open locally.
case eof
A read operation reached end-of-file. This usually means the remote peer closed the socket but it’s still open locally.
case eof
import NIOCore
The core abstractions that make up SwiftNIO.
enum ChannelError
An error that can occur on Channel
operations.
case connectPending
Tried to connect on a Channel
that is already connecting.
case connectTimeout(TimeAmount)
Connect operation timed out
case operationUnsupported
Unsupported operation triggered on a Channel
. For example connect
on a ServerSocketChannel
.
case ioOnClosedChannel
An I/O operation (e.g. read/write/flush) called on a channel that is already closed.
case alreadyClosed
Close was called on a channel that is already closed.
case outputClosed
Output-side of the channel is closed.
case inputClosed
Input-side of the channel is closed.
case writeMessageTooLarge
A DatagramChannel
write
was made with a buffer that is larger than the MTU for the connection, and so the datagram was not written. Either shorten the datagram or manually fragment, and then try again.
case writeHostUnreachable
A DatagramChannel
write
was made with an address that was not reachable and so could not be delivered.
case unknownLocalAddress
The local address of the Channel
could not be determined.
case badMulticastGroupAddressFamily
The address family of the multicast group was not valid for this Channel
.
case badInterfaceAddressFamily
The address family of the provided multicast group join is not valid for this Channel
.
case illegalMulticastAddress(SocketAddress)
An attempt was made to join a multicast group that does not correspond to a multicast address.
case inappropriateOperationForState
An operation that was inappropriate given the current Channel
state was attempted.
case unremovableHandler
An attempt was made to remove a ChannelHandler that is not removable.
case multicastNotSupported(NIONetworkInterface)
Multicast is not supported on Interface