Home · All Classes · Modules

QUdpSocket Class Reference
[QtNetwork module]

Inherits QAbstractSocket.

Types

Methods


Detailed Description


Type Documentation

QUdpSocket.BindFlag


Method Documentation

QUdpSocket.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QUdpSocket.bind (self, QHostAddress, int)

bool QUdpSocket.bind (self, int port = 0)

bool QUdpSocket.bind (self, QHostAddress, int, BindMode)

bool QUdpSocket.bind (self, int, BindMode)

bool QUdpSocket.hasPendingDatagrams (self)

int QUdpSocket.pendingDatagramSize (self)

(str, QHostAddress host, int port) QUdpSocket.readDatagram (self, int maxlen)

int QUdpSocket.writeDatagram (self, str, QHostAddress, int)

int QUdpSocket.writeDatagram (self, QByteArray, QHostAddress, int)


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0