Could you show some code from the server part? Only the connecting bit for example?
Also: what OS are you using?
Nick Evan
Not a Llama
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
>>how to solve this problem so server gets output individually for client??
Each client needs to use different ports. You can reserve a range of ports in the hosts file on the server computer so that nothing else on the server will take them. Assign port no 8000 to client #1, port 8001 to client #2, etc. Then in server side when recvfrom() gets something from client, server kicks off a thread to process the info so that the server can go back to recvfrom() without blocking.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343