SocketError
public enum SocketError : Error
An error type indicating an error associated with a socket operation.
These errors are not very likely to occur.
-
Indicates that a flag of a socket could not be retrieved or set.
Declaration
Swift
case flags
-
Indicates that an error occurred while allowing a socket address to be reused.
Declaration
Swift
case reuse
-
Indicates that a socket could not be bound.
Declaration
Swift
case bind
-
Indicates that an error occurred while trying to retrieve or set the nonblocking-property of a socket.
Declaration
Swift
case nonblocking
-
Indicates that an error occurred while trying to make a socket listen.
Declaration
Swift
case listen
-
Indicates that an error occurred while trying to accept a new connection.
Declaration
Swift
case accept
-
Indicates that an error occurred while trying to open a socket.
Declaration
Swift
case open