Re: SOCK_RAW not supported

From: Roman Mashak (mrv_at_tusur.ru)
Date: 06/23/05


Date: Thu, 23 Jun 2005 14:21:39 +0900

Hello, David!
You wrote on Wed, 22 Jun 2005 21:41:19 -0700:

 ??>> if ( sd = socket(AF_INET, SOCK_RAW, 0) < 0) {

 DS> You mean socket(PF_PACKET, SOCK_RAW, )
well, I run the code with 'root' privilege now, socket is created
succesfully but 'bind' still has same error "Socket operation on
non-socket".

With best regards, Roman Mashak. E-mail: mrv@tusur.ru



Relevant Pages

  • Re: Problems with sockets
    ... turn on more warnings from you compiler! ... Hence the error message saying socket operation on non-socket. ...
    (comp.lang.c)
  • ftp daemon fails
    ... hi - all of a sudden i can't start the ftpd daemon. ... Socket operation on non-socket ... View this message in context: http://www.nabble.com/ftp-daemon-fails-tf4423871.html#a12619050 ...
    (freebsd-questions)
  • Re: ftp daemon fails
    ... Hash: SHA1 ... hi - all of a sudden i can't start the ftpd daemon. ... Socket operation on non-socket ...
    (freebsd-net)
  • Re: ftp daemon fails
    ... Socket operation on non-socket ... /etc/hosts looks okay. ... getpeername means it doesn't have anything to connect with. ...
    (freebsd-questions)