fsockopen

fsockopen -- Open Internet or Unix domain socket connection

Description

int fsockopen ( string hostname, int port [, int errno [, string errstr [, float timeout]]])

Not :

Exempel 1 . fsockopen( ) Example




The example below shows how to retrieve the day and time from the UDP service "daytime" (port 13) in your own machine.

Exempel 2 .




Varning

Not :

See also pfsockopen() , socket_set_blocking() , socket_set_timeout() , fgets() , fgetss() , fputs() , fclose() , feof() , and the Curl extension .