PowerTCP Sockets for .NET
ReceiveTaskAsync Method




Syntax
'Declaration
 
Public Function ReceiveTaskAsync( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal size As Integer, _
   ByVal socketFlags As SocketFlags _
) As Task(Of Datagram)
'Usage
 
Dim instance As UdpBase
Dim buffer() As Byte
Dim offset As Integer
Dim size As Integer
Dim socketFlags As SocketFlags
Dim value As Task(Of Datagram)
 
value = instance.ReceiveTaskAsync(buffer, offset, size, socketFlags)
public Task<Datagram> ReceiveTaskAsync( 
   byte[] buffer,
   int offset,
   int size,
   SocketFlags socketFlags
)
public: Task<Datagram*>* ReceiveTaskAsync( 
   byte[]* buffer,
   int offset,
   int size,
   SocketFlags socketFlags
) 
public:
Task<Datagram^>^ ReceiveTaskAsync( 
   array<byte>^ buffer,
   int offset,
   int size,
   SocketFlags socketFlags
) 

Parameters

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