UdpClient anyone any ideas where it is?

Hi Guys,

I am porting some code over to the cobra and am after the class UdpClient, this usually resides in System.Net.Sockets in .NET, from what I can see for the micro edition it can be found in System.Ext.Net.Sockets found in MFDpwsExtensions.

Its not in there for me, anyone any idea where the little bugger is?

Cheers

Andy

Hi Guys,

Even worse it is beginning to look like the Cobra doesn’t support UDP at all, is this true?

Might have ordered the wrong board here :frowning:

Thanks

Andy

BobTheDog,

The Cobra (or even Fez xxx with the network module) support UDP, you just have to specify the ProtocolType:

using (sListener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Udp))

Eric

Hi Eric,

Thanks for the info, just what I needed :slight_smile:

Cheers

Andy