[mono-android] SocketError.TimedOut

tsukrov tsukrov at chessbase.com
Wed Nov 30 14:23:04 EST 2011


Thanks for the answer.

Nope, it's not a HTTP-connection. It's a custom socket connection. 

It's something like that (pseudo code):

{...
socket.Completed += OnRecv;
socket.ReceiveAsync();
..}

void OnRecv(args)
{
   if(args.SocketError != NoError)
   {
       HandleData();
       socket.ReceiveAsync();
   }
}

We get TimedOut after 5-10 secs of waiting.
No matter, how the socket was configured.


--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/SocketError-TimedOut-tp5022774p5036525.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list