Hello
How can I configure a tcp socket so that, when sending data through it, the program should not wait until all the data is received by the other end?
Thank you
A question regarding sockets
Re: A question regarding sockets
Either threaded loops that wait on the socket or asynchronous I/O are the recommended techniques. In Linux, for example, I could use the "select" system call to wait for data on any number of sockets simultaneously and then dispatch to a handling function. Windows has a similar api, called "WaitForMultipleObjects".dani.user wrote:Hello
How can I configure a tcp socket so that, when sending data through it, the program should not wait until all the data is received by the other end?
Thank you