Search found 2 matches

by dcm684
Wed Apr 12, 2017 4:31 pm
Forum: ESP-IDF
Topic: Socket Server
Replies: 2
Views: 6351

Re: Socket Server

Turn out that it was an issue with the client device, not the ESP32 server. The client would try to send something and if it did not receive a response it closed the socket. I added some code to the socket handler that will diagnose if the client closed the socket. To help anyone else in the future,...
by dcm684
Tue Apr 11, 2017 8:37 pm
Forum: ESP-IDF
Topic: Socket Server
Replies: 2
Views: 6351

Socket Server

I am trying to create a socket with a client that I can leave open indefinitely where both the server and client can send messages at anytime without have to reopen the socket. The server on the ESP32 can receive one message before being unable to receive any more messages without closing and reopen...