Interface TCPServerSocket
access this type via: net.TCPServerSocket (provides, requires or uses)
Bind a TCP 'server' or 'master' socket. A TCPSocket can be used to accept new connections from server sockets.
Constants
char ANY_ADDRESS[]
char ANY_ADDRESS_v4[]
char ANY_ADDRESS_v6[]
Functions
bool bind(char address[], int port)
void unbind()
Constants
ANY_ADDRESS Bind to any and all IP addresses of the host.
ANY_ADDRESS_v4 Bind to any and all IPv4 addresses of the host.
ANY_ADDRESS_v6 Bind to any and all IPv6 addresses of the host.
bool bind(char address[], int port)
Bind a TCP 'server' or 'master' socket to a given IP address and port number.
void unbind()
Unbind this socket (allowing other sockets to bind to this address/port).