Exemple #1
0
 public int IOControl(ns.IOControlCode code, byte[] inval, byte[] outval)
 {
     return(realSocket.IOControl(code, inval, outval));
 }
Exemple #2
0
 int Utils.Wrappers.Interfaces.ISocket.IOControl(System.Net.Sockets.IOControlCode ioControlCode, byte[] optionInValue, byte[] optionOutValue)
 {
     return(InternalSocket.IOControl(ioControlCode, optionInValue, optionOutValue));
 }
Exemple #3
0
 public static extern int WSAIoctl(
     /* Socket, Mode */ IntPtr s, System.Net.Sockets.IOControlCode dwIoControlCode,
     /* Optional Or IntPtr.Zero, 0 */ byte[] lpvInBuffer, int cbInBuffer,
     /* Optional Or IntPtr.Zero, 0 */ IntPtr lpvOutBuffer, int cbOutBuffer,
     /* reference to receive Size */ ref int lpcbBytesReturned,
     /* IntPtr.Zero, IntPtr.Zero */ IntPtr lpOverlapped, IntPtr lpCompletionRoutine);