public static UDPStream CreateUDPStream(int port = 0) { IntPtr pointer = CreateUDPStream_internal(port); UDPStream ret = new UDPStream(pointer); return(ret); }
public static int UDPMsgPort(UDPStream stream) { return(UDPMsgPort_internal(stream.Pointer)); }
public static int UDPStreamIP(UDPStream stream) { return(UDPStreamIP_internal(stream.Pointer)); }
public static int RecvUDPMsg(UDPStream stream) { return(RecvUDPMsg_internal(stream.Pointer)); }
public static void SendUDPMsg(UDPStream stream, int ip, int port = 0) { SendUDPMsg_internal(stream.Pointer, ip, port); }
public static void CloseUDPStream(UDPStream stream) { CloseUDPStream_internal(stream.Pointer); }