Subject: Re: UDP data transfer using RAW socket.
To: None <Jagan.S@lntinfotech.com>
From: Jason R Thorpe <email@example.com>
Date: 07/14/2002 09:20:21
On Sun, Jul 14, 2002 at 05:58:23PM +0530, Jagan.S@lntinfotech.com wrote:
> I would like to transfer UDP datagram using RAW socket. I have created UDP
> & IP headers at application ( setsockopt - is used). The transmitter uses
> raw socket and receiver waiting on a normal udp socket.
> But, the receiver is not able to receive the packets.
> Can anybody give help me, to solve this problem
Read the ip(4) manual page -- it provides some details on using IP_HDRINCL.
In particular, some fields of the IP header must be provided in host byte
order -- the kernel will then convert them to network order before sending
-- Jason R. Thorpe <firstname.lastname@example.org>