Lines Matching defs:sock
526 wxSocketBase *sock = event.GetSocket();
527 if (!sock) { /* No socket, no glory */
531 wxTCPConnection *connection = (wxTCPConnection *)(sock->GetClientData());
546 sock->Notify(false);
547 sock->Close();
665 sock->Notify(false);
666 sock->Close();
693 wxSocketBase *sock = server->Accept();
694 if (!sock) { /* No socket, no glory */
697 if (!sock->Ok())
699 sock->Destroy();
703 wxSocketStream *stream = new wxSocketStream(*sock);
725 new_connection->m_sock = sock;
729 sock->SetEventHandler(*gs_handler, _CLIENT_ONREQUEST_ID);
730 sock->SetClientData(new_connection);
731 sock->SetNotify(wxSOCKET_INPUT_FLAG | wxSOCKET_LOST_FLAG);
732 sock->Notify(true);
749 sock->Destroy();