delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/12/14:20:58

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Not owner - bind() run time error.
12 Mar 1997 14:20:58 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC2F3A.2D21A6C0.cygnus.gnu-win32@sos>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Gideon Shemesh'"
<gid AT algotec DOT co DOT il>
Encoding: 12 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Gideon Shemesh wrote:
>  I have written a small program with sockets. (#include <sys/socket.h>)
>  Its compiles and at run time  bind() returns -1, 
>  errno is 1 (EPERM: Not super user)
>  I'm using the latest release of cygwin32, NT 4.0 (intel).

You have no administrator permissions and you are trying to bind to port number less than 1024. Am I right?

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job

-
For help on using this list, 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