Exemplo n.º 1
0
QHostAddress MSocketDevice::peerAddress() const
{
    if ( pp==0 && isValid() ) {
	MSocketDevice *that = (MSocketDevice*)this; // mutable
	that->fetchPeerConnectionParameters();
    }
    return pa;
}
Exemplo n.º 2
0
quint16 MSocketDevice::peerPort() const
{
    if ( pp==0 && isValid() ) {
	MSocketDevice *that = (MSocketDevice*)this; // mutable
	that->fetchPeerConnectionParameters();
    }
    return pp;
}