mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-21 15:23:02 +00:00
socket UGUHH
This commit is contained in:
parent
38cc63e441
commit
d99ef6a1b8
|
|
@ -60,7 +60,14 @@ Socket::Socket(bool response)
|
|||
{
|
||||
m_end = SOCKET_CLIENT_END;
|
||||
Socket *socket = new Socket(1);
|
||||
s_serverConnection->NewIncomingSocket(socket);
|
||||
if ( s_serverConnection != NULL )
|
||||
{
|
||||
s_serverConnection->NewIncomingSocket(socket);
|
||||
}
|
||||
else
|
||||
{
|
||||
app.DebugPrintf("SOCKET: Warning - attempted to notify server of new incoming socket but s_serverConnection is NULL\n");
|
||||
}
|
||||
}
|
||||
|
||||
for( int i = 0; i < 2; i++ )
|
||||
|
|
|
|||
Loading…
Reference in a new issue