PowerTCP Sockets for .NET
SendAsync Method




Syntax
'Declaration
 
<SecuritySafeCriticalAttribute()>
Public Sub SendAsync( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer, _
   ByVal socketFlags As SocketFlags, _
   ByVal destination As IPEndPoint, _
   ByVal callback As UdpAsyncCallback, _
   ByVal state As Object _
) 
'Usage
 
Dim instance As UdpBase
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
Dim socketFlags As SocketFlags
Dim destination As IPEndPoint
Dim callback As UdpAsyncCallback
Dim state As Object
 
instance.SendAsync(buffer, offset, count, socketFlags, destination, callback, state)
[SecuritySafeCritical()]
public void SendAsync( 
   byte[] buffer,
   int offset,
   int count,
   SocketFlags socketFlags,
   IPEndPoint destination,
   UdpAsyncCallback callback,
   object state
)
[SecuritySafeCritical()]
public: void SendAsync( 
   byte[]* buffer,
   int offset,
   int count,
   SocketFlags socketFlags,
   IPEndPoint* destination,
   UdpAsyncCallback* callback,
   Object* state
) 
[SecuritySafeCritical()]
public:
void SendAsync( 
   array<byte>^ buffer,
   int offset,
   int count,
   SocketFlags socketFlags,
   IPEndPoint^ destination,
   UdpAsyncCallback^ callback,
   Object^ state
) 

Parameters

buffer
offset
count
socketFlags
destination
callback
state
See Also

Reference

UdpBase Class
UdpBase Members


PowerTCP Sockets for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic