public long ReadDatagram(Pointer <sbyte> data, long maxlen, QHostAddress host, ref short port) { StackItem[] stack = new StackItem[5]; #if DEBUG stack[1].s_class = (IntPtr)DebugGCHandle.Alloc(data); #else stack[1].s_class = (IntPtr)GCHandle.Alloc(data); #endif stack[2].s_long = maxlen; #if DEBUG stack[3].s_class = (IntPtr)DebugGCHandle.Alloc(host); #else stack[3].s_class = (IntPtr)GCHandle.Alloc(host); #endif stack[4].s_short = port; interceptor.Invoke("readDatagram$$#$", "readDatagram(char*, qint64, QHostAddress*, unsigned short*)", stack); #if DEBUG DebugGCHandle.Free((GCHandle)stack[1].s_class); #else ((GCHandle)stack[1].s_class).SynchronizedFree(); #endif #if DEBUG DebugGCHandle.Free((GCHandle)stack[3].s_class); #else ((GCHandle)stack[3].s_class).SynchronizedFree(); #endif port = stack[4].s_short; return(stack[0].s_long); }
public bool IsInSubnet(QHostAddress subnet, int netmask) { return((bool)interceptor.Invoke("isInSubnet#$", "isInSubnet(const QHostAddress&, int) const", typeof(bool), typeof(QHostAddress), subnet, typeof(int), netmask)); }
public void SetNetmask(QHostAddress newNetmask) { interceptor.Invoke("setNetmask#", "setNetmask(const QHostAddress&)", typeof(void), typeof(QHostAddress), newNetmask); }
public bool Bind(QHostAddress address, ushort port) { return((bool)interceptor.Invoke("bind#$", "bind(const QHostAddress&, unsigned short)", typeof(bool), typeof(QHostAddress), address, typeof(ushort), port)); }
public bool Bind(QHostAddress address, ushort port) { return (bool) interceptor.Invoke("bind#$", "bind(const QHostAddress&, unsigned short)", typeof(bool), typeof(QHostAddress), address, typeof(ushort), port); }
public long WriteDatagram(string data, long len, QHostAddress host, ushort port) { return((long)interceptor.Invoke("writeDatagram$$#$", "writeDatagram(const char*, qint64, const QHostAddress&, unsigned short)", typeof(long), typeof(string), data, typeof(long), len, typeof(QHostAddress), host, typeof(ushort), port)); }
public void SetBroadcast(QHostAddress newBroadcast) { interceptor.Invoke("setBroadcast#", "setBroadcast(const QHostAddress&)", typeof(void), typeof(QHostAddress), newBroadcast); }
public static QDataStream Read(QDataStream arg1, QHostAddress arg2) { return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QHostAddress&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QHostAddress), arg2); }
public void SetIp(QHostAddress newIp) { interceptor.Invoke("setIp#", "setIp(const QHostAddress&)", typeof(void), typeof(QHostAddress), newIp); }
public bool Listen(QHostAddress address) { return (bool) interceptor.Invoke("listen#", "listen(const QHostAddress&)", typeof(bool), typeof(QHostAddress), address); }
public bool Listen(QHostAddress address, ushort port) { return (bool) interceptor.Invoke("listen#$", "listen(const QHostAddress&, unsigned short)", typeof(bool), typeof(QHostAddress), address, typeof(ushort), port); }
public bool Listen(QHostAddress address) { return((bool)interceptor.Invoke("listen#", "listen(const QHostAddress&)", typeof(bool), typeof(QHostAddress), address)); }
protected void SetPeerAddress(QHostAddress address) { interceptor.Invoke("setPeerAddress#", "setPeerAddress(const QHostAddress&)", typeof(void), typeof(QHostAddress), address); }
public bool IsInSubnet(QHostAddress subnet, int netmask) { return (bool) interceptor.Invoke("isInSubnet#$", "isInSubnet(const QHostAddress&, int) const", typeof(bool), typeof(QHostAddress), subnet, typeof(int), netmask); }
public void ConnectToHost(QHostAddress address, ushort port) { interceptor.Invoke("connectToHost#$", "connectToHost(const QHostAddress&, unsigned short)", typeof(void), typeof(QHostAddress), address, typeof(ushort), port); }
public QHostAddress(QHostAddress copy) : this((Type) null) { CreateProxy(); interceptor.Invoke("QHostAddress#", "QHostAddress(const QHostAddress&)", typeof(void), typeof(QHostAddress), copy); }
/// <remarks> /// Tries to connect to the %Soprano server. /// \return <pre>true</pre> on success, <pre>false</pre> if an error occured. /// Check lastError() for details. /// </remarks> <short> Tries to connect to the %Soprano server.</short> public bool Connect(QHostAddress address, int port) { return (bool) interceptor.Invoke("connect#$", "connect(const QHostAddress&, int)", typeof(bool), typeof(QHostAddress), address, typeof(int), port); }
public QHostAddress(QHostAddress.SpecialAddress address) : this((Type) null) { CreateProxy(); interceptor.Invoke("QHostAddress$", "QHostAddress(QHostAddress::SpecialAddress)", typeof(void), typeof(QHostAddress.SpecialAddress), address); }
public long ReadDatagram(Pointer <sbyte> data, long maxlen, QHostAddress host) { return((long)interceptor.Invoke("readDatagram$$#", "readDatagram(char*, qint64, QHostAddress*)", typeof(long), typeof(Pointer <sbyte>), data, typeof(long), maxlen, typeof(QHostAddress), host)); }
public void ConnectToHost(QHostAddress address, ushort port, uint mode) { interceptor.Invoke("connectToHost#$$", "connectToHost(const QHostAddress&, unsigned short, QIODevice::OpenMode)", typeof(void), typeof(QHostAddress), address, typeof(ushort), port, typeof(uint), mode); }
public long WriteDatagram(QByteArray datagram, QHostAddress host, ushort port) { return((long)interceptor.Invoke("writeDatagram##$", "writeDatagram(const QByteArray&, const QHostAddress&, unsigned short)", typeof(long), typeof(QByteArray), datagram, typeof(QHostAddress), host, typeof(ushort), port)); }
public bool Bind(QHostAddress address, ushort port, uint mode) { return((bool)interceptor.Invoke("bind#$$", "bind(const QHostAddress&, unsigned short, QUdpSocket::BindMode)", typeof(bool), typeof(QHostAddress), address, typeof(ushort), port, typeof(uint), mode)); }
public bool Bind(QHostAddress address, ushort port, uint mode) { return (bool) interceptor.Invoke("bind#$$", "bind(const QHostAddress&, unsigned short, QUdpSocket::BindMode)", typeof(bool), typeof(QHostAddress), address, typeof(ushort), port, typeof(uint), mode); }
public long ReadDatagram(Pointer<sbyte> data, long maxlen, QHostAddress host, ref short port) { StackItem[] stack = new StackItem[5]; #if DEBUG stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(data); #else stack[1].s_class = (IntPtr) GCHandle.Alloc(data); #endif stack[2].s_long = maxlen; #if DEBUG stack[3].s_class = (IntPtr) DebugGCHandle.Alloc(host); #else stack[3].s_class = (IntPtr) GCHandle.Alloc(host); #endif stack[4].s_short = port; interceptor.Invoke("readDatagram$$#$", "readDatagram(char*, qint64, QHostAddress*, unsigned short*)", stack); #if DEBUG DebugGCHandle.Free((GCHandle) stack[1].s_class); #else ((GCHandle) stack[1].s_class).SynchronizedFree(); #endif #if DEBUG DebugGCHandle.Free((GCHandle) stack[3].s_class); #else ((GCHandle) stack[3].s_class).SynchronizedFree(); #endif port = stack[4].s_short; return stack[0].s_long; }
public QHostAddress(QHostAddress copy) : this((Type)null) { CreateProxy(); interceptor.Invoke("QHostAddress#", "QHostAddress(const QHostAddress&)", typeof(void), typeof(QHostAddress), copy); }
public long ReadDatagram(Pointer<sbyte> data, long maxlen, QHostAddress host) { return (long) interceptor.Invoke("readDatagram$$#", "readDatagram(char*, qint64, QHostAddress*)", typeof(long), typeof(Pointer<sbyte>), data, typeof(long), maxlen, typeof(QHostAddress), host); }
public long WriteDatagram(string data, long len, QHostAddress host, ushort port) { return (long) interceptor.Invoke("writeDatagram$$#$", "writeDatagram(const char*, qint64, const QHostAddress&, unsigned short)", typeof(long), typeof(string), data, typeof(long), len, typeof(QHostAddress), host, typeof(ushort), port); }
public static uint QHash(QHostAddress key) { return (uint) staticInterceptor.Invoke("qHash#", "qHash(const QHostAddress&)", typeof(uint), typeof(QHostAddress), key); }
public long WriteDatagram(QByteArray datagram, QHostAddress host, ushort port) { return (long) interceptor.Invoke("writeDatagram##$", "writeDatagram(const QByteArray&, const QHostAddress&, unsigned short)", typeof(long), typeof(QByteArray), datagram, typeof(QHostAddress), host, typeof(ushort), port); }
public static QDataStream Write(QDataStream arg1, QHostAddress arg2) { return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QHostAddress&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QHostAddress), arg2); }
public bool Connect(QHostAddress address) { return (bool) interceptor.Invoke("connect#", "connect(const QHostAddress&)", typeof(bool), typeof(QHostAddress), address); }