|
-
March 15th, 2007, 08:25 AM
#5
Re: Inheritance and using static variables
guido,
Here is the flow:
3rd party Client->myServer->3rd party Server
3rd party Server->myClient->3rd party Client
My "myClient & myServer" is stuck in the middle of your normal client server model.
Like you stated before, I think the problem im running into is that I have two main programs one for "myClient' and one for "myServer". I thought becasue i set my "clientSockfd & serverSockfd" to static that each object would have the ability to access the data.
I guess to accomplish my task i will have to create separate threads off of a single main?
Thanks
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
|