Hello Angus,

Your components seem to be exactly what I need. Thanks a lot!

BTW, as you mentioned on your site, the raw socket demo only
shows received packets, not the sent ones.

-- 
Best regards,
Jack

Friday, November 11, 2005, 12:19:00 PM, you wrote:

>> I remember seeing an example using WinXP raw socket to
>> sniff network traffic. Raw socket support has been added
>> to ICS (but I have no experience with it yet.) I wonder if
>> ICS raw socket can be used to sniff traffic sent to local
>> PC?

> My Internet Packet Monitoring Components can be downloaded from 
> http://www.magsys.co.uk/delphi/, and will monitor using either raw 
> sockets or winpcap.  

>> Basically, I'd like to know the IP and MAC address of the default
>> gateway. If not raw socket, any other ways to know that?
>> I can probably use winpcap to sniff the traffic but I would
>> not use it if I don't have to.

> You can use my Internet Protocol Helper Component, same URL (or the 
> Usermade ICS page), to read the PC IP routing table which will give you
> the IP of the next hops for various destination addresses, since there
> may be multiple gateways.  The ARP table gives you the MAC for the IPs
> you found.  There's a demo program that lists all this stuff. 

> Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to