note 94830 rejected from function.socket-create by danbrown
| From: | danbrown@php.net | Date: | Fri, 27 Nov 2009 13:49:43 +0000 |
| Subject: | note 94830 rejected from function.socket-create by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163338@lists.php.net to get a copy of this message | ||
Note Submitter: ewout dot zigterman at dimat dot nl
----
The parameter block in this article lists the different communication types of a socket.
the description for the SOCK_RAW list the following :
SOCK_RAW Provides raw network protocol access ...... (like ping, traceroute, etc).
The traceroute example does not seem right because it is not possible to set a TTL value of an ip
packet in PHP.
Yes it is true that a normal traceroute uses icmp packets however without the TTL value it is just a
simple ping.