TCP client and server in Delphi

preview_player
Показать описание
How to connect indy TCPClient component til TCPServer component in Delphi

00:00 Start
00:46 Components installation
02:05 Server and client properties
02:56 Event handlers
08:11 Action Buttons
09:17 Testing client connection
09:40 server confirmation to the client
11:23 Send info from client to server
13:07 Response from server back to client
15:42 Correction mesures in the server's response to the client
Рекомендации по теме
Комментарии
Автор

Thank You - i looking or exacly that tutorial :)

arkadiuszn
Автор

Hi nice video, would a user list using Nicknames be a hard thing to do?
And a global chat lobby?

While I have tried it a few times, if I user times out would it be able to remove the user from the list also?

I find it hard to keep track of the users and keeping them in sync, checks etc.
I think each user would maybe have to have a ID number to keep track of them though I could be wrong.

Steltekuk
Автор

It doesn't work if client runs in a different computer at a different internet connection. Could please test as I did to see if it works and upload the solution. I though Client host or IP is the problem. Thank you !

chuyennguyen
Автор

what is the difference between ServerSocket and ClientSocket components with IdTcpServer and IdTcpClient components, Sir? Is ServerSocket and ClientSocket only for local network communication like LAN and WLAN, while IdTcpServer and IdTcpClient for internet communication?

suryonoorcahyo