LumiSoft Mail Server User API
SendTo Method (data, remoteEP)
Namespaces > LumiSoft.Net > SocketEx > SendTo(Byte[](), EndPoint)
Sends data to the specified end point.
Syntax
C#Visual BasicManaged C++
public int SendTo (
	byte[] data,
	EndPoint remoteEP
)
Public Function SendTo ( _
	data As Byte(), _
	remoteEP As EndPoint _
) As Integer
public:
int SendTo (
	array<unsigned char>^ data, 
	EndPoint^ remoteEP
)
Parameters
data (Byte[]())
Data to send.
remoteEP (EndPoint)
Remote endpoint where to send data.
Return Value
Returns number of bytes actualy sent.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)