Low level TCP/IP networking support.
The socket module provides a low level access to network (TCP/IP) socket wise functions. UDP and TCP protocol are supported, and the module provides also name resolution facilities, both performed automatically when calling connect and bind methods, or manually by calling an appropriate name or address resolution routine.
The module supports both IPv4 and IPv6 networking; generally, IPv6 is chosen transparently when an IPv6 address is provided or retrieved by the name resolution system, if the host system supports it.
The Socket module defines a NetError class that is raised on network errors. The class is derived from core IoError and doesn't add any method or property.
Note: The module can be loaded using the command
|NetError||Error generated by network related system failures.|
|Socket||TCP/IP networking base class.|
|TCPServer||Encapsulates a TCP network service provider.|
|TCPSocket||Provides full TCP connectivity.|
|UDPSocket||UDP (datagram) manager.|
|NetErrorCode||Network failure error categories.|
|getHostName||Retreives the host name of the local machine.|
|resolveAddress||Resolve a network address in a list of numeric IP fields.|
|socketErrorDesc||Describe the meaning of a networking related system error code.|