Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com content-class: urn:content-classes:message Subject: RE: Raw Socket support using Cygwin. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Date: Fri, 23 Mar 2001 12:08:43 +1100 Message-ID: Thread-Topic: Raw Socket support using Cygwin. Thread-Index: AcCzNLmWb6XCK3qBQfygxAw1UqdU1wAAJXhw From: "Robert Collins" To: "Prabhune, Abhijeet" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id UAA17415 > -----Original Message----- > From: Prabhune, Abhijeet [mailto:APrabhun AT ciena DOT com] > Sent: Friday, March 23, 2001 12:07 PM > To: 'cygwin-apps AT cygwin DOT com' > Cc: 'cygwin-developers AT cygwin DOT com' > 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