|
-
December 18th, 2002, 03:56 AM
#1
Multithreading Problems in Simple C language.
I am writing a program which will connect to a remote server, by accepting user name and pwd. This program allows multi-user login also.
If there are multiple users logged in then each of them will receive a message from the remote server.
For this reason I have created a seperate port and a thread for each user. Inside the thread the program will listen on a particular port. The same is with other threads. Now when the data has come for a particular user the aprropriate thread is not getting activated resulting in data loss.
I have tried synchronizing but am not very clear on that concept.
Can you help me resolve this problem.
Regards,
Shivakumar Thota
Shivakumar Thota
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|