Problem with TCP and UDP at the same time
-
- I have a non blocking listener at port 8080 acting as a webserver.
- I have a non blocking UDP Socket at port 52000.
UDP is receiving messages but when a call happens to webserver (TCP Socket) then UDP Stops working.
-
@beyonlo I found the solution with wireshark. I was testing the web page with chrome.
Chrome is a litle bit buggy to test single threaded web servers. It does a pre-connection without sending any data in order to be ready for next request.
-
@constantinos said in Problem with TCP and UDP at the same time:
- I have a non blocking listener at port 8080 acting as a webserver.
- I have a non blocking UDP Socket at port 52000.
UDP is receiving messages but when a call happens to webserver (TCP Socket) then UDP Stops working.
Please, paste the code to people help you better.
Thank you.