RAD Studio |  |

Using Socket Components
See Also
Collapse All

The Internet category includes three socket components that allow your network application to form connections to other machines, and that allow you to read and write information over that connection. These are:

- TTcpServer
- TTcpClient
- TUdpSocket

Associated with each of these socket components are socket objects, which represent the endpoint of an actual socket connection. The socket components use the socket objects to encapsulate the socket server calls, so that your application does not need to be concerned with the details of establishing the connection or managing the socket messages.

If you want to customize the details of the connections that the socket components make on your behalf, you can use the properties, events, and methods of the socket objects.

See Also

Specifying the Desired Server

Forming the Connection

Reading and Writing Over Socket Connections

Closing the Connection

Reading and Writing Over Socket Connections

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!