예제 #1
0
파일: Udp.cs 프로젝트: Gscienty/AsyncIO.Net
        public Udp Bind(string ip, int port, UdpFlags flags)
        {
            NativeSocketAddress address = NativeSocketAddress.GetIPv4(ip, port);

            NativeMethods.uv_udp_bind(this, ref address, flags);
            return(this);
        }
예제 #2
0
파일: Udp.cs 프로젝트: Gscienty/AsyncIO.Net
 internal static extern int uv_udp_bind(Udp handle, ref NativeSocketAddress address, UdpFlags flags);
예제 #3
0
 extern public static int uv_udp_bind(IntPtr handle, /*[In] ref Sockaddr*/ IntPtr addr, UdpFlags flags);