Next: System_network_wrapper_TcpSocket, Up: System_network
System.network.socketThis package contains basic support for network sockets.
Supported constructors:
System.network.socket(domain, type, protocol)domain of type type, with protocol
protocol.
Supported constants:
SOCK_DGRAMSOCK_STREAMSOCK_SEQPACKETAF_UNIXAF_UNSPECAF_INETSupported methods:
accept()bind(host, port)close()connect(host, port)listen(backlog)backlog maximum pending
connections.
read(bytes)bytes bytes from the socket.
write(bytes)bytes to the socket.