O
OJ
Hi,
I am using windows xp sp 2 and VS2005 Express editions. Whenever I
create a new socket in either VB or C# using the following code...
VB
Private client As New Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp)
C#
private Socket client = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
....a SocketException occurs twice as such...
+ EnableBroadcast 'this.client.EnableBroadcast' threw an exception of
type 'System.Net.Sockets.SocketException' bool
{System.Net.Sockets.SocketException}
and...
- MulticastLoopback 'this.client.MulticastLoopback' threw an exception
of type 'System.Net.Sockets.SocketException' bool
{System.Net.Sockets.SocketException}
with ...
ErrorCode 10042 int
Can anyone shed some light on what is happening here? It is not raising
an Exception in my app, but it is preventing any communication using
the socket.....
Thanks,
Oli
I am using windows xp sp 2 and VS2005 Express editions. Whenever I
create a new socket in either VB or C# using the following code...
VB
Private client As New Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp)
C#
private Socket client = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
....a SocketException occurs twice as such...
+ EnableBroadcast 'this.client.EnableBroadcast' threw an exception of
type 'System.Net.Sockets.SocketException' bool
{System.Net.Sockets.SocketException}
and...
- MulticastLoopback 'this.client.MulticastLoopback' threw an exception
of type 'System.Net.Sockets.SocketException' bool
{System.Net.Sockets.SocketException}
with ...
ErrorCode 10042 int
Can anyone shed some light on what is happening here? It is not raising
an Exception in my app, but it is preventing any communication using
the socket.....
Thanks,
Oli