This class implements a transport object for Indy-based UDP server. Implements IROTransport and IROTCPTransport.
Transport objects are used to access server-specific information from the server, such as address bindings and so on depending on the server nature. Transport object are not widely used at the user code level but sometimes are useful for advanced server development.
- Unit: uROIndyUDPServer.pas
- Ancestry: TInterfacedObject | TROIndyUDPTransport
Returns Indy object that describes how the server is bound to IP addresses.
property Binding: TIdSocketHandle read
Provides access to the server instance that owns the current transport object instance.
property Server: TROIndyUDPServer read
Creates a new instance.
constructor Create(aServer: TROIndyUDPServer; aBinding: TIdSocketHandle)
- aServer: The server instance that owns the transport object.
- aBinding: An Indy object that describes how the server is bound to IP addresses.
function GetTransportObject: TObject