示例#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;
}