normaly i use something like
sckt = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
to get a network connection.
When using (for example) the CellularRadio driver from codeshare I have to use the special “CellularRadio.socket” to get the connection
it’s possible to assign a networkdriver to the netmf net class, so the code is independent to the actually connection and the program can swith the connection type