PowerTCP Sockets for .NET
ReceiveAsync Method




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

Parameters

buffer
offset
size
socketFlags
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