UDP Broadcast datagrams sent and received on same computer.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • riaancillie@gmail.com

    #1

    UDP Broadcast datagrams sent and received on same computer.

    I apologize in advance since this isn't strictly the most appropriate
    group to ask this question in.

    I am using a Socket to broadcast UDP datagrams as such:

    FSocket.EnableB roadcast = true;
    FSocket.SendTo( bytes, new IPEndPoint(IPAd dress.Broadcast , 9991) );

    I receive the datagram on the other computers on the network, but the
    computer sending the datagram does not receive the packet. Is this
    normal behaviour? I.e Are broadcast packets received by a network
    interface ignored if it realizes it was also the sender?

    Incidentally, if I open Ethereal/Wireshark and start capturing
    packets, the problem disappears and all broadcast packets are suddenly
    received by the sending computer as well.

Working...