stream_socket_sendto Sends a message to a socket, whether it is connected or not Description intstream_socket_sendto resourcesocket stringdata intflags stringaddress The function stream_socket_sendto sends the data specified by data through the socket specified by socket. The address specified when the socket stream was created will be used unless an alternate address is specifed in address. The value of flags can be any combination of the following: possible values for <parameter>flags</parameter> STREAM_OOB Process OOB (out-of-band) data.
<function>stream_socket_sendto</function> Example ]]> See also stream_socket_recvfrom, stream_socket_client, and stream_socket_server.