> -----Original Message-----
> From: Prabhune, Abhijeet [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 12:07 PM
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: Raw Socket support using Cygwin.
>
>
> Hi,
> I am developing a program which requires Raw Ip Sockets on
> Windows NT 4.0
> I know that Winsock2 provided by Microsoft does not provide
> this support.
> Also Cygwin library is built on top of Winsock, so it
> probably does not
> provide this?
Correct
>However I see that Cygwin has tweaked certain
> parts to provide
> more complete unix like functionality e.g. select() call.
> Hence the question, does Cygwin support raw ip socket option?
> Looking at the
> code I have (version 1.1.8) I don't think so? Has anyone
> tried to use this?
Possibly, but without cygwin support they won't get very far.
> Has anyone contributed to cygwin for raw ip socket support?
> Is it possible
> to incorporate this?
> If yes can someone give me some pointers to start tweaking
> cygwin so as to
> get raw Ip support from NT, maybe by directly accessing IP
> interface of NT.
>
> Thanks,
> Abhijeet.
>
This would be an excellent contribution to make to cygwin...
Your best bet is to look at libnet for win32, which can insert arbitrary
packets. I think it uses an intermediary network driver to achieve this.
What would be really neat would be if interfaces to that driver were
added to cygwin1.dll.
Rob
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple