Ejemplo n.º 1
0
 public static extern int recvfrom(
     int s,
     byte[] buf,
     int len,
     int flags,
     ref SockAddr_In from,
     int fromlen);
Ejemplo n.º 2
0
 public static extern int sendto(
     int s,
     byte[] buf,
     int len,
     int flags,
     ref SockAddr_In to,
     int tolen
     );
Ejemplo n.º 3
0
 public static extern int bind(int s, ref SockAddr_In name, int namelen);
Ejemplo n.º 4
0
 public static extern int connect(
     int socket,
     ref SockAddr_In name,
     int namelen
     );