delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Wed, 6 Jan 2010 20:21:11 +0530 |
Message-ID: | <53b627ea1001060651u9dc16ddqbc3a38c7fb3f453c@mail.gmail.com> |
Subject: | Cygwin and raw sockets - Windows XP with SP2 , Vista and later |
From: | Karthik Balaguru <karthikbalaguru79 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi, I am looking for raw socket usage from cygwin environment. In Windows, the releases after 'Windows XP with SP2' have the ability to send traffic over raw sockets but has been restricted in following ways: 1. A call to the bind function with a raw socket is not allowed 2. TCP data cannot be sent over raw sockets. 3. UDP datagrams with invalid source addresses cannot be sent over raw sockets. The IP source address for any outgoing UDP datagram must exist on a network interface or the datagram is dropped. I got the below info from http://www.cygwin.com/cygwin-ug-net/highlights.html#ov-hi-sockets - 'Socket-related calls in Cygwin basically call the functions by the same name in Winsock, Microsoft's implementation of Berkeley sockets, but with lots of tweaks.' But, It does not clearly convey whether cygwin uses Microsoft's winsock . Does cygwin use winsock ? If cygwin uses winsock, then i think the raw socket usage restrictions applied for further releases from 'Windows XP with SP2' is applicable for cygwin also. :-( But, i need raw socket for an application that i am trying to execute from cygwin in 'Windows XP with SP2' & Vista . How can this be achieved ? Any ideas ? Thx in advans, Karthik Balaguru -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |