write

(PHP 4 >= 4.0.2)

write -- Write to a socket

Description

int write (int socket_des, string &buffer, int length)

The function write() writes to the socket socket_des from &buffer the number of bytes set by length.

See also accept_connect(), bind(), connect(), listen(), read(), strerror(), and socket_get_status().