|
-
May 1st, 1999, 10:25 PM
#1
Client Server
Is it possible to make a program that is both a client and a server, then run the same app twice while testing it on the same computer from the same ISP and IP, to test whether it will send a file over the internet to a remote computer?
Of all the things I've lost I miss my mind the most
-
May 1st, 1999, 11:21 PM
#2
Re: Client Server
Hi.
Even though I don't understand why you want to write the code of both
Client and Server program at one application, this is possible.
However, when you start your program, you must have a choice of
which you want to start this program by Client or Server.
For example, when you use check box, you will write the separate
code in one application partly because we put on CSocket and CObject
class at both Client and Server, for example.
HTH.
-Masaaki Onishi-
-
May 1st, 1999, 11:29 PM
#3
Re: Client Server
Absolutely. I've done it myself. Just use a flag making the program start as a client or server.
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
|