mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Small clarification.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30532 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
944adca03f
commit
293495cf8a
1 changed files with 12 additions and 11 deletions
|
@ -135,17 +135,18 @@
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Initiates a stream connection in the Internet (AF_INET, using
|
||||
TCP or UDP) or Unix (AF_UNIX) domain. For the Internet domain,
|
||||
it will open a TCP
|
||||
socket connection to <parameter>hostname</parameter> on
|
||||
port <parameter>port</parameter>. For UDP connections, you need
|
||||
to explicitely specify the the protocol:
|
||||
<parameter>udp://hostname</parameter>. For the Unix domain,
|
||||
<parameter>hostname</parameter> will be used as the path to the
|
||||
socket, <parameter>port</parameter> must be set to 0 in this
|
||||
case. The optional <parameter>timeout</parameter> can be used
|
||||
to set a timeout in seconds for the connect system call.
|
||||
Initiates a stream connection in the Internet (AF_INET, using TCP
|
||||
or UDP) or Unix (AF_UNIX) domain. For the Internet domain, it
|
||||
will open a TCP socket connection to
|
||||
<parameter>hostname</parameter> on port
|
||||
<parameter>port</parameter>. <parameter>hostname</parameter> may
|
||||
in this case be either a fully qualified domain name or an IP
|
||||
address. For UDP connections, you need to explicitely specify the
|
||||
the protocol: <parameter>udp://hostname</parameter>. For the
|
||||
Unix domain, <parameter>hostname</parameter> will be used as the
|
||||
path to the socket, <parameter>port</parameter> must be set to 0
|
||||
in this case. The optional <parameter>timeout</parameter> can be
|
||||
used to set a timeout in seconds for the connect system call.
|
||||
</para>
|
||||
<para>
|
||||
<function>Fsockopen</function> returns a file pointer which may
|
||||
|
|
Loading…
Reference in a new issue