Пример #1
0
QHostAddress MSocketDevice::peerAddress() const
{
    if ( pp==0 && isValid() ) {
	MSocketDevice *that = (MSocketDevice*)this; // mutable
	that->fetchPeerConnectionParameters();
    }
    return pa;
}
Пример #2
0
quint16 MSocketDevice::peerPort() const
{
    if ( pp==0 && isValid() ) {
	MSocketDevice *that = (MSocketDevice*)this; // mutable
	that->fetchPeerConnectionParameters();
    }
    return pp;
}