SocketDirection class

The SocketDirection is used as a parameter to Socket.close and RawSocket.close to close a socket in the specified direction(s).

The SocketDirection is used as a parameter to Socket.close and RawSocket.close to close a socket in the specified direction(s).

Constants

RECEIVE = const SocketDirection._(0)
SEND = const SocketDirection._(1)
BOTH = const SocketDirection._(2)