| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <37FA19C4.1DB1789C@ms.alcatel.Fr> |
| Date: | Tue, 05 Oct 1999 17:31:16 +0200 |
| From: | Olivier Marce <Olivier DOT Marce AT ms DOT alcatel DOT Fr> |
| Organization: | Alcatel CRC |
| X-Mailer: | Mozilla 4.5 [fr] (WinNT; I) |
| X-Accept-Language: | fr |
| MIME-Version: | 1.0 |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| Subject: | Raw socket access |
Hello Cygwiners I'm trying to open a raw socket in a C program compiled in Cygwin, on NT4.0 Unfortunately, the raw socket is accessible only for administrator, not from users (I get back a "nor owner" error message). On the other hand, it seems that if I would use winsock function I could open a raw socket (it is what I deduced from the examples from the very comprehensive Winsock programmer's FAQ - thanks !) Am I right ? If so, how is it possible to use winsock socket functions (WSASocket()) rather than cygwin ones (socket()). In addition my code must be wrapped as a DLL becauseI want to call these functions from Java, as native functions. My objective is to developp a ICMP Java class. Thanks a lot for any hints. -- Olivier Marce (UAA/GSA) Alcatel CRC Tel: +33 (0) 1 69 63 41 67 Route de Nozay Fax: +33 (0) 1 69 63 17 89 F-91461 Marcoussis Cedex (France) -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |