Send Method

Send data to the remote host.

Syntax

public void Send(byte[] text);
Public Sub Send(ByVal Text As String)

Remarks

Calling this method is equivalent to setting the DataToSend property to Text.

Example (Send Data)


UDPPortControl.LocalPort = 8765 
UDPPortControl.RemotePort = 8765 
UDPPortControl.RemoteHost = "HostNameOrIPAddress"
UDPPortControl.Active = True
UDPPortControl.Send("Hello!")

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8307]