send Method
Send data to the remote host.
Syntax
def send(text: bytes) -> None: ...
Remarks
Calling this method is equivalent to setting the data_to_send property to Text.
Example (Send Data)
UDPPortControl.LocalPort = 8765 UDPPortControl.RemotePort = 8765 UDPPortControl.RemoteHost = "HostNameOrIPAddress" UDPPortControl.Active = True UDPPortControl.Send("Hello!")