FREE CODE APPS ::
Full Delphi source code to a simple Chat application. The example Chat program demonstrates how UDP broadcast can be used to find partners with unknown IP addresses in the network. While the "chat" application is a good candidate to use the "streaming" structure of TCP, here a UDP implementation is done. Provided the "connectionless" ways of UDP, multiple partners can send to a single network device.
Full Delphi source code to a simple Chat application. The example Chat program demonstrates how UDP broadcast can be used to find partners with unknown IP addresses in the network. While the "chat" application is a good candidate to use the "streaming" structure of TCP, here a UDP implementation is done. Provided the "connectionless" ways of UDP, multiple partners can send to a single network device.
Read the full article to learn how to create a Chat application with Delphi
Related:

The code doesn’t compile on Delphi 2007. The error is thrown on line “IdUDPClient1.SendBuffer(x, 4);” udp.pas(125)
There is no overloaded version of ‘SendBuffer’ that can be called with these arguments.
There are also other error on further lines:
(139) Undeclared identifier: “WSGetHostByAddr”.
Hi,
The code uses Indy version 9, while Delphi 2007 by default installs Indy 10.
Soooo….what’s the fix?
nice information, is here any sample programming using indy ?