socket_write Write to a socket Description intsocket_write resourcesocket_des string&buffer intlength &warn.experimental.func; The function socket_write writes to the socket socket_des from &buffer the number of bytes set by length. See also socket_accept, socket_bind, socket_connect, socket_listen, socket_read, and socket_strerror.