rgvbc> i have tried to listen to the raw packets by using the following program 
rgvbc> .on running it just keeps on waiting  for any packet to come even when
rgvbc> there is traffic .

rgvbc>    while(1)
rgvbc>    {
rgvbc>    read(create_socket,(struct datagram*)&ipdgram,sizeof(ipdgram));
rgvbc>    //printf("%s",ipdgram.data);
rgvbc>    }

Read() is defined for connected sockets. Try recv() or recvfrom().

-- 
Meelis Roos ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to