public static void GeIpGetRemoteAddr(SWIGTYPE_p_IpConnection ipc, SWIGTYPE_p_CHAR buf, int bufsize) { C4dApiPINVOKE.GeIpGetRemoteAddr(SWIGTYPE_p_IpConnection.getCPtr(ipc), SWIGTYPE_p_CHAR.getCPtr(buf), bufsize); }
public static SWIGTYPE_p_VLONG GeIpSendBytes(SWIGTYPE_p_IpConnection ipc, SWIGTYPE_p_void buf, SWIGTYPE_p_VLONG size) { SWIGTYPE_p_VLONG ret = new SWIGTYPE_p_VLONG(C4dApiPINVOKE.GeIpSendBytes(SWIGTYPE_p_IpConnection.getCPtr(ipc), SWIGTYPE_p_void.getCPtr(buf), SWIGTYPE_p_VLONG.getCPtr(size)), true); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static SWIGTYPE_p_VLONG GeIpBytesInInputBuffer(SWIGTYPE_p_IpConnection ipc) { SWIGTYPE_p_VLONG ret = new SWIGTYPE_p_VLONG(C4dApiPINVOKE.GeIpBytesInInputBuffer(SWIGTYPE_p_IpConnection.getCPtr(ipc)), true); return ret; }
public static void GeIpKillConnection(SWIGTYPE_p_IpConnection ipc) { C4dApiPINVOKE.GeIpKillConnection(SWIGTYPE_p_IpConnection.getCPtr(ipc)); }
public static SWIGTYPE_p_IpConnection GeIpWaitForIncoming(SWIGTYPE_p_IpConnection listener, BaseThread connection, SWIGTYPE_p_LONG ferr) { IntPtr cPtr = C4dApiPINVOKE.GeIpWaitForIncoming(SWIGTYPE_p_IpConnection.getCPtr(listener), BaseThread.getCPtr(connection), SWIGTYPE_p_LONG.getCPtr(ferr)); SWIGTYPE_p_IpConnection ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_IpConnection(cPtr, false); return ret; }
internal static HandleRef getCPtr(SWIGTYPE_p_IpConnection obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }