internal static extern SocketError WSARecv(
     [In] SafeCloseSocket socketHandle,
     [In, Out] ref WSABuffer buffer,
     [In] int bufferCount,
     [Out] out int bytesTransferred,
     [In, Out] ref SocketFlags socketFlags,
     [In] IntPtr overlapped,
     [In] IntPtr completionRoutine
     );
Beispiel #2
0
 internal static extern int WSARecv(
     [In] IntPtr socketHandle,
     [In, Out] ref WSABuffer Buffer,
     [In] int BufferCount,
     [In] IntPtr bytesTransferred,
     [In, Out] ref SocketFlags socketFlags,
     [In] IntPtr overlapped,
     [In] IntPtr completionRoutine
     );
 internal static extern SocketError WSASendTo(
     [In] SafeCloseSocket socketHandle,
     [In] ref WSABuffer buffer,
     [In] int bufferCount,
     [Out] out int bytesTransferred,
     [In] SocketFlags socketFlags,
     [In] IntPtr socketAddress,
     [In] int socketAddressSize,
     [In] IntPtr overlapped,
     [In] IntPtr completionRoutine
     );
Beispiel #4
0
 internal static extern int WSASendTo(
     [In] IntPtr socketHandle,
     [In] ref WSABuffer Buffer,
     [In] int BufferCount,
     [In] IntPtr BytesWritten,
     [In] SocketFlags socketFlags,
     [In] byte[] socketAddress,
     [In] int socketAddressSize,
     [In] IntPtr overlapped,
     [In] IntPtr completionRoutine
     );