Ejemplo n.º 1
0
 internal static extern System.IntPtr mk_tcp_client_create(ref mk_tcp_client_events events, mk_tcp_type type);
Ejemplo n.º 2
0
 /// <summary>
 /// 创建tcp客户端
 /// </summary>
 /// <param name="events">回调函数结构体</param>
 /// <param name="type">客户端类型</param>
 /// <returns>客户端对象</returns>
 public static System.IntPtr mk_tcp_client_create(ref mk_tcp_client_events events, mk_tcp_type type)
 => LibraryConst.IsWindows ? mk_tcp_windows.mk_tcp_client_create(ref events, type) : mk_tcp_unix.mk_tcp_client_create(ref events, type);