Description
int
fsockopen
( string hostname, int port [, int errno [, string errstr [,
float timeout]]])
דוגמה
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.
See also
pfsockopen()
,
socket_set_blocking()
,
socket_set_timeout()
,
fgets()
,
fgetss()
,
fputs()
,
fclose()
,
feof()
, and the
Curl extension
.