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(AddressF amily.InterNetw ork,
SocketType.Stre am, ProtocolType.Tc p)
C#
private Socket client = new Socket(AddressF amily.InterNetw ork,
SocketType.Stre am, ProtocolType.Tc p);
....a SocketException occurs twice as such...
+ EnableBroadcast 'this.client.En ableBroadcast' threw an exception of
type 'System.Net.Soc kets.SocketExce ption' bool
{System.Net.Soc kets.SocketExce ption}
and...
- MulticastLoopba ck 'this.client.Mu lticastLoopback ' threw an exception
of type 'System.Net.Soc kets.SocketExce ption' bool
{System.Net.Soc kets.SocketExce ption}
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(AddressF amily.InterNetw ork,
SocketType.Stre am, ProtocolType.Tc p)
C#
private Socket client = new Socket(AddressF amily.InterNetw ork,
SocketType.Stre am, ProtocolType.Tc p);
....a SocketException occurs twice as such...
+ EnableBroadcast 'this.client.En ableBroadcast' threw an exception of
type 'System.Net.Soc kets.SocketExce ption' bool
{System.Net.Soc kets.SocketExce ption}
and...
- MulticastLoopba ck 'this.client.Mu lticastLoopback ' threw an exception
of type 'System.Net.Soc kets.SocketExce ption' bool
{System.Net.Soc kets.SocketExce ption}
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
Comment