System.Net.Sockets.Socket Bug?

System.Net.Sockets.Socket Bug?

Post by Alphamacar » Sat, 05 Nov 2005 01:55:16


All,

Are there any known bugs with the Socket class in systems with multiple
network cards? If I create a Udp Socket (non-multicast) with "new
Socket(AddressFamily.InterNetwork, SocketType.Dgram,
ProtocolType.Udp);" and bind it to anything but the machine's default
IP address, I am unable to send any packets. The SendTo method returns
without error, but I don't see any outgoing packets (either in the
Status Dialog for the network card, or even running a trace with
Ethereal). Like I said, it works when I bind to the machine's default
IP address, but if I try to bind to any other IP addresses on other
network cards, SendTo doesn't do anything. If you want, I can send you
some source code that will reproduce the problem. Any ideas?

-jim
 
 
 

System.Net.Sockets.Socket Bug?

Post by TWljaGFlbC » Sat, 05 Nov 2005 12:18:03

by chance did u apply the loopback patch microsoft came out with
?

 
 
 

System.Net.Sockets.Socket Bug?

Post by Alphamacar » Wed, 09 Nov 2005 03:43:08

I don't think so. I don't have the loopback adapter installed anyway.
Should I have the patch installed?