Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 25 Apr 2011
Offline Last Active Sep 20 2013 09:12 AM

Topics I've Started

Quick question about ND+2 Socket

11 August 2013 - 09:15 AM

As far as I tested you cannot have more than 5 open connection to ND+2, do you agree?


Simple code:

Socket serverSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);IPEndPoint localEndPoint = new IPEndPoint(IPAddress.Parse(""), 8080);serverSocket.Bind(localEndPoint);serverSocket.Listen(0);while (true){   Socket clientSocket = serverSocket.Accept();   clientSocket.Send(new byte[] { (byte)'a', (byte)'b', (byte)'c' });}

This way you can telnet the server 5 times and receive abc, the sixth time you won't connect.

What I need is about 10 persistent contemporary there a way? 

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.