Small clarification.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30532 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2000-08-19 20:56:49 +00:00
parent 944adca03f
commit 293495cf8a

View file

@ -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