delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/07/12:15:28

From: avajhoej AT gtech DOT com (Arne =?iso-8859-1?Q?Vajh=F8j?=)
Subject: 2 questions: ICMP and system
7 Dec 1998 12:15:28 -0800 :
Message-ID: <366BA075.50C725CF.cygnus.gnu-win32@gtech.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

System: Windows 95 OSR2 + Cygwin B19 with patch and EGCS 1.1 (standard
installation).

1)  socket(AF_INET,SOCK_RAW,IPPROTO_ICMP) does not work for me (I get
    a protocol not supported errno)

    The code works on another platform (it basicly uses the same
    algorithm as the original Mike Muss Ping code - it is just
    C++ instead of C and sligthly simpler in functionality).

    Is it a problem with with Cygwin ?  Is it a problem with
    Windows95 WINSOCK ? (if that - how does the Windows Ping programs
    work ?) Or do I have to look for a bug in my code ? (no warnings
    and that it does work on another platform is no guarantee that
    the code is correct)

2)  Are there a simple way of getting system to use DOS instead
    of bash ?

    (even though I like Unix emulation, then I may still want to execute
    a native DOS command)

Arne

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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