|
|
@ -801,6 +801,9 @@ void KSMServer::newConnection( int /*socket*/ )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
IceAcceptStatus status;
|
|
|
|
IceAcceptStatus status;
|
|
|
|
IceConn iceConn = IceAcceptConnection( ((KSMListener*)sender())->listenObj, &status);
|
|
|
|
IceConn iceConn = IceAcceptConnection( ((KSMListener*)sender())->listenObj, &status);
|
|
|
|
|
|
|
|
if (iceConn == NULL) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
IceSetShutdownNegotiation( iceConn, False );
|
|
|
|
IceSetShutdownNegotiation( iceConn, False );
|
|
|
|
IceConnectStatus cstatus;
|
|
|
|
IceConnectStatus cstatus;
|
|
|
|
while ((cstatus = IceConnectionStatus (iceConn))==IceConnectPending) {
|
|
|
|
while ((cstatus = IceConnectionStatus (iceConn))==IceConnectPending) {
|
|
|
@ -813,6 +816,7 @@ void KSMServer::newConnection( int /*socket*/ )
|
|
|
|
else
|
|
|
|
else
|
|
|
|
kdDebug( 1218 ) << "ICE Connection rejected!" << endl;
|
|
|
|
kdDebug( 1218 ) << "ICE Connection rejected!" << endl;
|
|
|
|
(void )IceCloseConnection (iceConn);
|
|
|
|
(void )IceCloseConnection (iceConn);
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|