Skip to main content
gamedev.net
🔒 Locked

client/server architecture

Started by JAlonso Jun 11, 2002 at 9:54 AM 1 replies 250+ views
Original Post
JAlonso
JAlonso
I''d like somebody to explain me a bit how to design a client/server architecture where the server side isn''t dedicated, I mean, the server machine also runs a client. The problem is that I don''t know how to treat comms between the server and its local client. Thanks in advance.
ANSI2000
ANSI2000
Just treat it as if the client where on another computer. Your server has a listening port and the client requires an addres and port where to connect. The address for the client this time will either be the 127.0.0.1 loop back or the computers local (LAN)address, usually internal networks use 10.0.0.xxx. The port will be the port your server is listening on...
JAlonso
JAlonso
Thanks ANSI2000

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.