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

(usagi-users 00506) Another problem with the hop limit



Hi, 

    The idea of removing the (char *) casting worked, but only in the 
setsockopt. With the getsockopt, I still get the 'Invalid argument' 
error message. The code is:

ret = getsockopt (sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS, 
        (void *) &ttl, sizeof (int));


     Someone has idea idea about what might happen?


     Thanks.



 ___________________________________________________________________ 
Consigue tu e-mail gratuito TERRA.ES
 Haz clic en http://www.terra.es/correo/