<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>QUdpSocket Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 align="center">QUdpSocket Class Reference</h1> <h3 align="center">[<a href="com_trolltech_qt_network.html">com.trolltech.qt.network</a> package]</h3> <p>Inherits <a href="qabstractsocket.html">QAbstractSocket</a>.</p> <h3>Constructor</h3> <ul> <li><div class="fn"/><b>void QUdpSocket(QObject parent)</b></li> </ul> <h3>Constructor Properties</h3> <ul> <li><b>prototype</b>: The QUdpSocket prototype object</li> <li><b>DefaultForPlatform = 0x0</b></li> <li><b>ShareAddress = 0x1</b></li> <li><b>DontShareAddress = 0x2</b></li> <li><b>ReuseAddressHint = 0x4</b></li> <li><b>BindFlag( value )</b></li> <li><b>BindMode( value1, value2, ... )</b></li> </ul> <h3>Prototype Object Properties</h3> <p>The QUdpSocket prototype object inherits properties from the <a href="qabstractsocket.html">QAbstractSocket</a> prototype object and also has the following properties.</p> <ul> <li><div class="fn"/><b>bool bind(QHostAddress address, unsigned short port)</b></li> <li><div class="fn"/><b>bool hasPendingDatagrams()</b></li> <li><div class="fn"/><b>qint64 pendingDatagramSize()</b></li> <li><div class="fn"/><b>qint64 readDatagram(char data, qint64 maxlen, QHostAddress host, unsigned short port)</b></li> <li><div class="fn"/><b>qint64 writeDatagram(QByteArray datagram, QHostAddress host, unsigned short port)</b></li> </ul> <h3>Instance Properties</h3> <p>QUdpSocket objects have no special properties beyond those inherited from the QUdpSocket prototype object.</p> </body> </html>