Main Site Documentation

UdpClient anyone any ideas where it is?


#1

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


#2

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


#3

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


#4

Hi Eric,

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

Cheers

Andy