Hey Guys,
Hopefully someone here can help me out, I’m doing some benchmarking and profiling of Sockets in .Net MF, I have two EMX units ( 1 Spider and 1 Custom Board )
On one board I’m running the Socket server example from the SDK and on another board I have written a test program that does various connects and sends to the other EMX board and a server program running on my pc, I found the Connect doesn’t time out when there is no endpoint which is a common thing everyone knows about but one thing I have that I found that i cant find anything on is that the send appears to be a asynchronous call as if i remove the network cable of the other EMX running the server or stop the Server program running on my PC and then step over the send it always succeeds, even returning correct number of bytes written.
What is stranger is that after pulling the cable out and letting the program still run without closing that socket and then plugging the cable back in I get the data at the other end, but if I disconnect the socket without plugging the cable in I loose the data without any notification to my app.
Has anyone else experienced these types of issues? or anyone know how or if we can change the send to be blocking?