A
Alphamacaroon
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
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