I have a FreeRTOS task for the ipv4 udp multicast rx and an other realize a simple tcp server (both based on the examples). If both task are run the TCP task cant accept connections: Unable to accept connection: errno 113. If only the tcp server is running, it works perfect.
Could be any conflict theoretically between TCP accept() and a configured UDP multicast task? If yes, what could cause this?
Conflict between UDP multicast and TCP server
Re: Conflict between UDP multicast and TCP server
I found the problem. My UDP task uses select(). If I eliminate select() the tcp server accept() works. So the select() is not a thread safe function?
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: Conflict between UDP multicast and TCP server
Interesting; given that your code is correct, that shouldn't happen. Do you have a sample project that does this so we can take a look at it?
Who is online
Users browsing this forum: Majestic-12 [Bot], Marcosss and 137 guests