Home » questions » TCP Client/Server "Simultaneous" execution. If connection made and server sends before client's sel
TCP Client/Server "Simultaneous" execution. If connection made and server sends before client's sel
If the server sends after connection to client but before client enters select() call can I be sure that the data will be ready for reading (buffered) once the client does hit the select call? I am talking 5 s. between connection and select() call on the client at max. I have a need to send init data from one process to another (server to client) when both processes are executed near simultaneously (server then client as daemon's in a shell script).

Answers
land_bus
On 2006-08-13 06:05:08