[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02374) Re: socket() returns 0?



Problem solved, too ashamed to say how.

(silly, silly, silly me).
sock is >0 now.

Next, how do you compute the TCP checksum..., but that's another story.
Thanks all.

Mitsuru KANDA / 神田 充 wrote:
At Wed, 14 May 2003 16:39:57 +0200,
Yaniv Kaul <ykaul@xxxxxxxxxxxxxx> wrote:
  
I'm trying:
sock1 = socket(AF_INET6, SOCK_RAW, IPPROTO_RAW)

and sock1 = 0, which sounds wrong to me.
    
It seems strange.
What kernel version do you use?

Anyway, IPPROTO_RAW has no special meaning to an IPv6 raw socket.
(See rfc2292)

...
  
PS, is this the right mailing list to send those questions? If not, any 
idea what IS the right place for those IPv6 newbies questions?
    
linux-net ml?

-mk