2003-06-12T17:21:01 Greg Brigley:
> Thanks,  I wasn't aware that winpcap could send as well as receive.

Very, very good point, I'd completely forgotten about that, libpcap
is just the sniffer half.

Its complement is libnet, and it seems to have Windows support as
well.

Somehow I forget that this sort of stuff requires two separate
packages.

In the general case, I don't think a great case could be made for
using libpcap+libnet to implement networking tools for normal
production use, rather than using the OS stack.

But your case isn't the general one; you've got this simple cable
with two endpoints and you want a single application to talk over
it. In some abstract sense, using the OS's whole networking stack is
arguably "cleaner", but it's understandable that you don't want to
force your users to have to configure networking.

I think that using libpcap+libnet together with the standard
network-interface low-level drivers is a cleaner solution than
attempting to write and maintain a new custom USB protocol
implementation.

-Bennett

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to