write

(4.0.2 - 4.0.6 only)

write -- Schreibt in den Socket

Beschreibung

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

Warnung

This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.

Die Funktion write() schreibt aus dem Puffer &buffer die Anzahl Bytes, die mit length angegeben wurde, in den Socket mit dem Socket Deskriptor socket_des.

Siehe auch: accept_connect(), bind(), connect(), listen(), read(), strerror(), und socket_get_status().