Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi - If I understand the question ......
You code both servers in the normal way.
However, each server needs to be a separately executed program, or if this is not desired, then each 'server' needs to run as a separate process (fork()).
Ditto for any (local) clients.
Write a little code and experiment with this, it is very easy to do, there are bunches of examples for server/client code available on the net.
The experiments I ran were all on Linux. I don't know how a Win TCP/IP stack will handle this sort of requirement.
HTH, Guy

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |