C# Class Qyoto.QUdpSocket

Inheritance: QAbstractSocket, IDisposable
Datei anzeigen Open project: 0xd34df00d/Qross

Public Methods

Method Description
Bind ( ) : bool
Bind ( Qyoto.QHostAddress address, ushort port ) : bool
Bind ( Qyoto.QHostAddress address, ushort port, uint mode ) : bool
Bind ( ushort port ) : bool
Bind ( ushort port, uint mode ) : bool
Dispose ( ) : void
HasPendingDatagrams ( ) : bool
PendingDatagramSize ( ) : long
QUdpSocket ( QObject parent ) : System
ReadDatagram ( Pointer data, long maxlen ) : long
ReadDatagram ( Pointer data, long maxlen, Qyoto.QHostAddress host ) : long
ReadDatagram ( Pointer data, long maxlen, Qyoto.QHostAddress host, short &port ) : long
Tr ( string s ) : string
Tr ( string s, string c ) : string
WriteDatagram ( Qyoto.QByteArray datagram, Qyoto.QHostAddress host, ushort port ) : long
WriteDatagram ( string data, long len, Qyoto.QHostAddress host, ushort port ) : long

Protected Methods

Method Description
CreateProxy ( ) : void
QUdpSocket ( Type dummy ) : System

Private Methods

Method Description
QUdpSocket ( ) : System

Method Details

Bind() public method

public Bind ( ) : bool
return bool

Bind() public method

public Bind ( Qyoto.QHostAddress address, ushort port ) : bool
address Qyoto.QHostAddress
port ushort
return bool

Bind() public method

public Bind ( Qyoto.QHostAddress address, ushort port, uint mode ) : bool
address Qyoto.QHostAddress
port ushort
mode uint
return bool

Bind() public method

public Bind ( ushort port ) : bool
port ushort
return bool

Bind() public method

public Bind ( ushort port, uint mode ) : bool
port ushort
mode uint
return bool

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

HasPendingDatagrams() public method

public HasPendingDatagrams ( ) : bool
return bool

PendingDatagramSize() public method

public PendingDatagramSize ( ) : long
return long

QUdpSocket() public method

public QUdpSocket ( QObject parent ) : System
parent QObject
return System

QUdpSocket() protected method

protected QUdpSocket ( Type dummy ) : System
dummy System.Type
return System

ReadDatagram() public method

public ReadDatagram ( Pointer data, long maxlen ) : long
data Pointer
maxlen long
return long

ReadDatagram() public method

public ReadDatagram ( Pointer data, long maxlen, Qyoto.QHostAddress host ) : long
data Pointer
maxlen long
host Qyoto.QHostAddress
return long

ReadDatagram() public method

public ReadDatagram ( Pointer data, long maxlen, Qyoto.QHostAddress host, short &port ) : long
data Pointer
maxlen long
host Qyoto.QHostAddress
port short
return long

Tr() public static method

public static Tr ( string s ) : string
s string
return string

Tr() public static method

public static Tr ( string s, string c ) : string
s string
c string
return string

WriteDatagram() public method

public WriteDatagram ( Qyoto.QByteArray datagram, Qyoto.QHostAddress host, ushort port ) : long
datagram Qyoto.QByteArray
host Qyoto.QHostAddress
port ushort
return long

WriteDatagram() public method

public WriteDatagram ( string data, long len, Qyoto.QHostAddress host, ushort port ) : long
data string
len long
host Qyoto.QHostAddress
port ushort
return long