Topic Path: Symbol Reference > Classes > TIdUDPListenerThread Class > TIdUDPListenerThread Methods > UDPRead Method
TIdUDPListenerThread.UDPRead Method

Receives UDP datagram packets.

procedure UDPRead;

UDPRead is a procedure that detects receipt of a UDP datagram in the internal read buffer for the listener thread, and performs notification of datagram packet receipt using TIdUDPServer.OnUDPRead to make the data available. UDPRead uses the Server context to notify receipt of the data from the peer IP address and port number. 

UDPRead can be called using Synchronize when the value in TIdUDPServer.ThreadedEvent for the Server context contains False.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.