Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > .NET Samples

Lost Password?

Thread Tools Display Modes
Old 08-23-2009, 08:18 AM
janevblagoj janevblagoj is offline
Junior Member
Join Date: Oct 2006
Posts: 20
Default Two client on one computer!


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?

With Regard
Reply With Quote
Old 01-16-2011, 12:42 PM
vcldeveloper vcldeveloper is offline
Join Date: Jan 2011
Location: Iran
Posts: 80

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.
Reply With Quote
Old 01-16-2011, 05:15 PM
janevblagoj janevblagoj is offline
Junior Member
Join Date: Oct 2006
Posts: 20
Thumbs down Delphi Network!


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?!

With regard

e-mail jblagoj (at)
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:50 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.