> Hello Arno,
> I know about the components. They use ICS raw sockets. Because
> ICS raw sockets does not capture broadcast packets, they don't
> either :(
>From what I know raw sockets are not reliable, I tried several
applications based on raw sockets when I was looking for a sniffer.
All those apps. I've been tested didn't satisfy my need, so I ended
up with Ethereal which uses Winpcap.
>> I tried a C++ library based on raw socket and it worked. I briefly
>> looked at the C++ code and didn't find anything obvious.
If you have the source it shouldn't be a big deal to find out the
difference between TWsocket's and their API calls.
Arno Garrels [TeamICS]
> Best regards,
> Tuesday, March 7, 2006, 9:58:59 AM, you wrote:
>> Jack wrote:
>>> Resending ... anyone has any idea why this is happening?
>> These components use ICS:
>> "Raw sockets which are available with Windows 2000 and later.
>> This uses WSocket from the François Piette internet component suite,
>> from http://www.overbyte.be/. Major benefit is that no other
>> software needs to be installed, but raw sockets don't seem to work
>> fully with some network adaptors, and ignore non-IP protocols. Some
>> adaptors may capture received packets, but ignore anything sent."
>> Arno Garrels [TeamICS]
>>> ===8<==============Original message text===============
>>> Hello Francois,
>>> I used the code you posted earlier to capture traffic with raw
>>> sockets. It's the UDP packets I'm interested. It all works fine
>>> with packets specifically addressed to this IP. However, all
>>> broadcast packets are not captured, such as 192.168.1.255.
>>> I tried a C++ library based on raw socket and it worked. I briefly
>>> looked at the C++ code and didn't find anything obvious. Can you think
>>> of any reason that the ICS raw sockets is not doing that?
>>> WSocket1.ReqVerHigh := 2;
>>> WSocket1.ReqVerLow := 2;
>>> WSocket1.Proto := 'raw_ip';
>>> WSocket1.Port := '0';
>>> WSocket1.ComponentOptions := [wsoSIO_RCVALL];
>>> WSocket1.Addr := '192.168.1.102';
>>> Best regards,
>>> ===8<===========End of original message text===========
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