UDP Broadcasts not received on sender
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.networks only
 
Advanced search
POPULAR GROUPS

more...

comp.os ... networks Profile…
 Up
UDP Broadcasts not received on sender         


Author: riaancillie
Date: Apr 3, 2008 02:34

I am having trouble with UDP broadcast datagrams. I have a small VB6
test app that binds to 0.0.0.0 on port 6200. It sends a datagram to
"255.255.255.255" on port 6201. There is a second socket that is bound
to port 6201 on the same address. All computers receive this datagram
except for the computer which sent it. FYI the computer is running
Windows XP SP2 v.2149

If I run this same application on any other computer on the network
(even Windows Vista), the sending computer receives the datagram it
has broadcast, so the problem is confined to only one computer.

I have tried the same example in C# as well, so the problem is
definitely on a lower level. Just to be clear specifically sending to
the IP address of any interface on the machine does work and the
message is received, it just does not receive broadcast messages it
has sent itself. It also received broadcast messages sent from another
computer.
Show full article (1.58Kb)
1 Comment
Re: UDP Broadcasts not received on sender         


Author: riaancillie
Date: Apr 3, 2008 02:56

Don't worry, got it. Turns out that the computer had the latest
version of Kaspersky installed which also install "Kaspersky Anti-
Virus NDIS Filter". Disabling this and restarting the network adapter
solved the problem.

On Apr 3, 11:34 am, riaancil...@gmail.com wrote:
> I am having trouble with UDP broadcast datagrams. I have a small VB6
> test app that binds to 0.0.0.0 on port 6200. It sends a datagram to
> "255.255...
Show full article (1.91Kb)
no comments