Re: how to write a raw socket server using UDP
- From: Ivan Voras <ivoras@xxxxxxxxxxx>
- Date: Tue, 27 Nov 2007 17:57:33 +0100
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
- References:
- how to write a raw socket server using UDP
- From: sourav das
- how to write a raw socket server using UDP
- Prev by Date: Re: double panic, and whats apic_cmd? (kqemu crash...)
- Next by Date: Updated procstat(1)
- Previous by thread: how to write a raw socket server using UDP
- Next by thread: Re: how to write a raw socket server using UDP
- Index(es):
Relevant Pages
|
|