delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/22/20:17:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Date: Fri, 23 Mar 2001 12:08:43 +1100
Message-ID: <EA18B9FA0FE4194AA2B4CDB91F73C0EF02E294@itdomain002.itdomain.net.au>
Thread-Topic: Raw Socket support using Cygwin.
Thread-Index: AcCzNLmWb6XCK3qBQfygxAw1UqdU1wAAJXhw
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Prabhune, Abhijeet" <APrabhun AT ciena DOT com>, <cygwin AT cygwin DOT com>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019