Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: dhalser@yahoo.com (wrapper)
Subject: bind assigning invalid source address to udp packet
Date: 20 Mar 2003 19:54:52 -0800	[thread overview]
Message-ID: <bb464ba4.0303201954.12b15dc3@posting.google.com> (raw)

I am having trouble getting tru64 to properly create udp multicast
packets for a particular application which needs to send and receive
multicast data on the same socket. The trouble seems to be in the
bind() socket call, as it seems be responsible in some fashion for
filling the source address of the udp packet. When I bind() to the
socket, and send that data to the network, it is not received by the
other hosts on the network. I did some digging (actually I used the
packet sniffer program ethereal) and it revealed that the packets are
on the network, but the source address of the packets is filled in
with the multicast address and port. According to RFC 1112, "an
incoming datagram with IP host group address in its source address
field is quietly discarded." So, by that logic, it seems that when a
kernel that follows the RFC sees my multicast data, it just drops it
on the floor. Therefore, it seems that tru64 is filling in my udp
packets with an invalid source address that their own kernel will
reject! Does anyone know a way around this, or why someone would make
bind do this? Just for comparison, linux is okay with bind() and it
fills in the interface unicast address instead of the multicast
address.


             reply	other threads:[~2003-03-21  3:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-21  3:54 wrapper [this message]
2003-03-25 22:16 ` bind assigning invalid source address to udp packet Vladislav Yasevich
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox