sourav das wrote:
> hello all,
> 
>      i m a new comer. i wrote a raw socket client 
> using setsockopt (sock, IPPROTO_IP. IPHDRINCL, ....)using UDP. ihave followed 
> MS_Press network programming . it is showing 19 bytes sent successfully. when 
> trying to send more than 19 bytes using     sendto(sock, ...) function , it 
> is 
> showing socket error on sending. i want to know how to write a raw socket 
> server 
> program so that to catch and display the data sent by the  client.

I don't think you can do it with the socket API, try using bpf or netgraph.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to