TUDPBlockSocket.Connect
TUDPBlockSocket
procedure Connect(IP, Port: string); override;
Unit
blcksock
Description
Specify destination for sending UDP packets. After this function you may use any method for send data for create UDP datagram.
If you use SOCKS5 proxy, this function create TCP control connection to this proxy and activate UDP relay by UDP_ASSOCIATE method.
Note: If you call this on non-created socket, then socket is created automaticly.