public static string toString(ArSocket.Type t) { string ret = AriaCSPINVOKE.ArSocket_toString((int)t); return(ret); }
public ArSocket(string host, int port, ArSocket.Type type) : this(AriaCSPINVOKE.new_ArSocket__SWIG_1(host, port, (int)type), true) { }
public ArSocket(int port, bool doClose, ArSocket.Type type) : this(AriaCSPINVOKE.new_ArSocket__SWIG_2(port, doClose, (int)type), true) { }
public ArSocket.Type getType() { ArSocket.Type ret = (ArSocket.Type)AriaCSPINVOKE.ArSocket_getType(swigCPtr); return(ret); }
public bool create(ArSocket.Type type) { bool ret = AriaCSPINVOKE.ArSocket_create(swigCPtr, (int)type); return(ret); }
public bool open(int port, ArSocket.Type type) { bool ret = AriaCSPINVOKE.ArSocket_open__SWIG_1(swigCPtr, port, (int)type); return(ret); }
public bool open(int port, ArSocket.Type type, string openOnIP) { bool ret = AriaCSPINVOKE.ArSocket_open__SWIG_0(swigCPtr, port, (int)type, openOnIP); return(ret); }
public bool connect(string host, int port, ArSocket.Type type) { bool ret = AriaCSPINVOKE.ArSocket_connect__SWIG_1(swigCPtr, host, port, (int)type); return(ret); }