![]() |
#1
|
|||
|
|||
![]()
HI,
Which changes I must to make in this program about (UDP Chat) which you may find on http://delphi.about.com/library/weekly/aa101105a.htm 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 Janev |
#2
|
|||
|
|||
![]()
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.
|
#3
|
|||
|
|||
![]()
Hi,
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 Blagoj e-mail jblagoj (at) yahoo.com |
![]() |
Thread Tools | |
Display Modes | |
|
|