Re: [PHP] IP and ICMP datagrams

2002-04-27 Thread Miguel Cruz
On Sat, 27 Apr 2002, Ero Stig Karlsen wrote: > I'm trying to write a trace route program in PHP. The algorithm in itself > is not a problem, but i need to know how to set time to live (by number of > hops) in an IP datagram and send it. I also need to be able to listen for > and recieve ICMP messa

[PHP] IP and ICMP datagrams

2002-04-27 Thread Ero Stig Karlsen
I'm trying to write a trace route program in PHP. The algorithm in itself is not a problem, but i need to know how to set time to live (by number of hops) in an IP datagram and send it. I also need to be able to listen for and recieve ICMP messages and to exctract the IP adress of the sending ro