the socket.connection() really disturbs me thesedays. The program will stuck at socket.connection() forever if the remote port cannot be accessed.
So is there a way to solve that, say give it a 5 secs timeout?
Is there a way to do that despite the thread.abort()?
And since my socket is a tcp/ip stream socket, and there is a shake hands procedure when the connection is being setup. normally it will try the syn/ack procedure for 21 secs before timeout but somehow it takes much more than that in netduino.
That's my another confusion.
thanks for any comment