View Full Version : Two client on one computer!
08-23-2009, 07:18 AM
Which changes I must to make in this program about (UDP Chat) which you may find on
To work on one computer simulate 2 clients, concerning with start two times on this program
On same Computer I want to have two clients!! Is it possible?
01-16-2011, 11:42 AM
Two clients on the same machine need to bind to different sockets; that means, they cannot bind to the same pair of HostName + PortNumber. If you have two different network interface cards in your machine, and both are configured to be in the same IP range, then you can have different hosts for each client. If you have only one NIC, then the two clients must use different ports. If the two clients are using different ports, you must take note that messages are sent to correct port, for example if client A is listening on port 4321 and client B is listening on port 5432, then client A should send its message to port 5432 for client B to receive it.
01-16-2011, 04:15 PM
I am Delphi programmer of hobby, and I am from Macedonia.
Are you Delphi programmer too, and have you experience of Delphi network?!
Can we contacting vie e-mail?!
e-mail jblagoj (at) yahoo.com
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.