Internet Direct (Indy)
Home
PreviousUpNext
TIdUDPClient.OpenProxy Method

Ensures the optional transparent proxy is enabled for the client.

Pascal
procedure OpenProxy;

OpenProxy is a method used to ensure that an assigned and enabled TransparentProxy for the UDP client is associated with the socket handle in Binding. Use the OpenProxy method, when the TransparentProxy property has been assigned, prior to calling method that send or receive datagrams like Send, SendBuffer, and ReceiveBuffer

An EIdMustUseOpenProxy will be raised if OpenProxy is not called prior to reading or writing datagrams when TransparentProxy has been assigned. 

Use CloseProxy to remove the association for the socket handle in Binding on the TransparentProxy server.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.