Originally Posted by Hammer
>>I cant use Hammers suggestion since sending data is time critical and cant wait for a given time if data is ready to be sent
When you use select(), if your sockets are busy, which I guess they will be as you've got so many of them, the "1 second delay" will never actually be 1 second. select() will return as soon as sockets are ready, waiting up to the specified time period for this to be. If your sockets are busy, then chances are select() will return almost immediately, allowing your app to continue processing.