Para abrir ARP no tenes que usar RAW sockets...?  SOCK_DGRAM y SOCK_PACKET
estan por encima del RAW. Buscate algun ejemplo de raw sockets.

--
Arturo "Buanzo" Busleiman - www.buanzo.com.ar - GNU/Linux Documentation
President, Open Information System Security Group - Argentina

FAN DE MARFIL - Power Rock Romantico - http://www.buanzo.com.ar/files/marfil/


On Fri, 22 Oct 2004, FGG wrote:

> Cambie el fprintf, los include ya estaban y me da lo siguiente:
> Usando este socket da lo sig:
>
> socket(AF_INET,SOCK_DGRAM,0)
> Error:
> error with ioctl 1 (22: Invalid argument)
>
> Usando este socket da lo sig:}
> socket (AF_INET, SOCK_PACKET, 0)
>
> Error:
> error with ioctl 1 (96: Protocol family not supported)
>
>
> Sls y Gracias
>
> Francisco
>

-- 
Para desuscribirte ten�s que visitar la p�gina
https://listas.linux.org.ar/mailman/listinfo/lugar-gral/

/* Publica y encontra trabajo relacionado con softlibre en 
http://www.linux.org.ar/modules/jobs/ */

Si ten�s alg�n inconveniente o consulta escrib� a mailto:[EMAIL PROTECTED]

Responder a