|
-
Aug 16th, 2003, 04:35 PM
#1
Thread Starter
New Member
server-client question
I am working on a game project where server play against client. I made the client side send the server game information but I have problems with making the sever send to client simultaneously.
can anyone guide me how to do it? how many sockets I need? and a code example would be great.
-
Aug 18th, 2003, 05:11 AM
#2
You should need 2 sockets. One for each direction.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Aug 18th, 2003, 06:24 AM
#3
Thread Starter
New Member
I think I have 2 directions: from client to server and from server to client.
Do I need 4 sockets in that case?
-
Aug 19th, 2003, 01:37 AM
#4
No, 2. One for each direction.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
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
|