List of functions in sockets.inc

Function Description
socket_open
Connects to the given node and service via TCP/UDP.
socket_close
Closes a socket.
socket_recv
Receives data.
socket_send
Sends data.
socket_send2
Sends data that can contain null bytes.
socket_change
Backwards compatible function.
socket_is_readable
Checks if a socket is marked as readable.
socket_is_writable
Checks if a socket is marked as writable.