This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Not owner - bind() run time error.


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]