Podręcznik
PHP
Poprzedni
Następny
fsockopen
fsockopen -- Open Internet or Unix domain socket connection
Description
int
fsockopen
( string hostname, int port [, int errno [, string errstr [, float timeout]]])
Notatka
:
Przykład
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.
Przykład
2
.
Ostrzeżenie
Notatka
:
See also
pfsockopen()
,
socket_set_blocking()
,
socket_set_timeout()
,
fgets()
,
fgetss()
,
fputs()
,
fclose()
,
feof()
, and the
Curl extension
.
Poprzedni
Spis
treści
Następny
Początek
rozdziału