Beispiel #1
0
 public int GetSocketOption(IPPROTO_UDP_SocketOptions option, IntPtr value, int valueLength)
 {
     return WinSock.getsockopt(Socket, WinSock.IPPROTO_UDP, (int)option, (char*)value.ToPointer(), &valueLength);
 }
Beispiel #2
0
 public int SetSocketOption(IPPROTO_UDP_SocketOptions option, IntPtr value, int valueLength) => WinSock.setsockopt(Socket, WinSock.IPPROTO_UDP, (int)option, (char *)value.ToPointer(), valueLength);
Beispiel #3
0
 public int SetSocketOption(IPPROTO_UDP_SocketOptions option, IntPtr value, int valueLength) => WinSock.setsockopt(Socket, WinSock.IPPROTO_UDP, (int)option, (char*)value.ToPointer(), valueLength);
Beispiel #4
0
 public int GetSocketOption(IPPROTO_UDP_SocketOptions option, IntPtr value, int valueLength)
 {
     return(WinSock.getsockopt(Socket, WinSock.IPPROTO_UDP, (int)option, (char *)value.ToPointer(), &valueLength));
 }
Beispiel #5
0
 public int GetSocketOption(IPPROTO_UDP_SocketOptions option, void *value, int *valueLength) => WinSock.getsockopt(Socket, WinSock.IPPROTO_UDP, (int)option, value, valueLength);
Beispiel #6
0
 public int GetSocketOption(IPPROTO_UDP_SocketOptions option, void* value, int* valueLength) => WinSock.getsockopt(Socket, WinSock.IPPROTO_UDP, (int)option, value, valueLength);