I am trying to write a server program that caters to multiple clients. The clients are being made to wait in turn when the data has to be sent back to them; and that exactly is my problem. The requests from client are handled by the server pretty much in the desired multi threaded fashion. Is it that every instance that is spawned by the server to handle a particular client request(this is done using reentrancy) is rendered useless because tcp/ip VIs are non re-entrant. Please assist me in correcting my understanding. Also suggest me how to make the server actually catering to multiple clients if reentrancy is a limitation for tcp/ip VIs.
Further to the question asked above do I need to open different ports for the multiple client and server communication to happen simultaneously.May be using the same port is what I need to avoid and problem is not with the TCP/IP VIs.Please help.
