I still get a null context when I remove the network cable. So checking the context for null is still a good idea!
Hi All,
I am not sure if I should start a new post but this is somehow related to this problem.
I am trying to get reliable http server on FEZ Spider 2 but having some issues, actually the problem is always on Accept() - it just hangs forever.
As an example I used @ Jef code as a server and .NET WebRequest class as a client (taken from Wysyłaj żądania HTTP za pomocą klienta HttpClient - .NET | Microsoft Learn just added infinite loop). I have also applied all the patches as suggested in this thread
The server works fine for about 3k - 7k requests and then just hangs on HttpLister. AcceptThreadFunc, clientSock = m_listener.Accept(); line.
I would like to mention that the same problems appears when using Gadgeeter WebServer, I also tried to implement server on raw sockets but it always freeze on accept() without any exception. I am also using newest SDK.
Thanks