Warning |
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk. |
The function socket_sendto() sends len bytes from buf through the socket socket to the port at the address addr
The value of flags can be one of the following:
Table 1. possible values for flags
0x1 | Process OOB (out-of-band) data. |
0x2 | Peek at incoming message. |
0x4 | Bypass routing, use direct interface. |
0x8 | Data completes record. |
0x100 | Data completes transaction. |
See also socket_send() and socket_sendmsg().