Searched refs:newSock (Results 1 – 1 of 1) sorted by relevance
545 deSocket* newSock = DE_NULL; in deSocket_accept() local556 newSock = (deSocket*)deCalloc(sizeof(deSocket)); in deSocket_accept()557 if (!newSock) in deSocket_accept()567 newSock->stateLock = deMutex_create(0); in deSocket_accept()568 newSock->handle = newFd; in deSocket_accept()569 newSock->state = DE_SOCKETSTATE_CONNECTED; in deSocket_accept()570 newSock->openChannels = DE_SOCKETCHANNEL_BOTH; in deSocket_accept()575 return newSock; in deSocket_accept()