@@ -41,16 +41,16 @@ internal class NativeSocket
4141 public static extern void shutdown ( object socket , int how , out int err ) ;
4242
4343 [ MethodImpl ( MethodImplOptions . InternalCall ) ]
44- public static extern int sendto ( object socket , byte [ ] buf , int offset , int count , int flags , int timeout_ms , EndPoint address ) ;
44+ public static extern int sendto ( object socket , byte [ ] buf , int offset , int count , int flags , int timeout_ms , EndPoint endPoint ) ;
4545
4646 [ MethodImpl ( MethodImplOptions . InternalCall ) ]
47- public static extern int recvfrom ( object socket , byte [ ] buf , int offset , int count , int flags , int timeout_ms , ref EndPoint address ) ;
47+ public static extern int recvfrom ( object socket , byte [ ] buf , int offset , int count , int flags , int timeout_ms , ref EndPoint endPoint ) ;
4848
4949 [ MethodImpl ( MethodImplOptions . InternalCall ) ]
50- public static extern void getpeername ( object socket , out byte [ ] address ) ;
50+ public static extern void getpeername ( object socket , out EndPoint endPoint ) ;
5151
5252 [ MethodImpl ( MethodImplOptions . InternalCall ) ]
53- public static extern void getsockname ( object socket , out byte [ ] address ) ;
53+ public static extern void getsockname ( object socket , out EndPoint endPoint ) ;
5454
5555 [ MethodImpl ( MethodImplOptions . InternalCall ) ]
5656 public static extern void getsockopt ( object socket , int level , int optname , byte [ ] optval ) ;
0 commit comments