Hello, is there a way to avoid hanging at a call to recv()? If nothing happens after a certain time interval, I want to proceed to the next part of my program.
Hello, is there a way to avoid hanging at a call to recv()? If nothing happens after a certain time interval, I want to proceed to the next part of my program.
You can use select() with your timeout value to determin if there is any data to be received or use none blocking sockets.