NAME

Qt::Network::QUdpSocket

PUBLIC METHODS

QUdpSocket(QObject * parent)
QUdpSocket(QObject * parent = 0)
~QUdpSocket()
bool bind(quint16 port)
bool bind(quint16 port = 0)
bool bind(const QHostAddress & address, quint16 port)
bool bind(quint16 port, QFlags<QUdpSocket::BindFlag> mode)
bool bind(const QHostAddress & address, quint16 port, QFlags<QUdpSocket::BindFlag> mode)
bool hasPendingDatagrams()
qint64 pendingDatagramSize()
qint64 readDatagram(char * data, qint64 maxlen, QHostAddress * host, quint16 * port)
qint64 readDatagram(char * data, qint64 maxlen, QHostAddress * host, quint16 * port = 0)
qint64 readDatagram(char * data, qint64 maxlen, QHostAddress * host = 0, quint16 * port = 0)
qint64 writeDatagram(const QByteArray & datagram, const QHostAddress & host, quint16 port)
qint64 writeDatagram(const char * data, qint64 len, const QHostAddress & host, quint16 port)

ENUM VALUES

DefaultForPlatform
ShareAddress
DontShareAddress
ReuseAddressHint

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html