Lines Matching refs:m_socket
52 m_socket(NULL)
68 wxCHECK_RET(!m_socket, wxT("Socket already opened."));
70 m_socket = new CEncryptedDatagramSocket(m_addr, wxSOCKET_NOWAIT, m_proxy);
71 m_socket->SetClientData(this);
72 m_socket->SetEventHandler(*theApp, m_id);
73 m_socket->SetNotify(wxSOCKET_INPUT_FLAG | wxSOCKET_OUTPUT_FLAG | wxSOCKET_LOST_FLAG);
74 m_socket->Notify(true);
76 if (!m_socket->Ok()) {
87 if (m_socket) {
89 m_socket->SetNotify(0);
90 m_socket->Notify(false);
91 m_socket->Close();
92 m_socket->Destroy();
93 m_socket = NULL;
149 if (errorCode || (m_socket == NULL) || !m_socket->Ok()) {
157 length = m_socket->RecvFrom(addr, buffer, UDP_BUFFER_SIZE).LastCount();
158 error = m_socket->Error();
159 lastError = m_socket->LastError();
257 return m_socket && m_socket->Ok();
305 if (!(m_socket && m_socket->Ok())) {
317 m_socket->SendTo(addr, buffer, length);
318 if (m_socket->Error()) {
319 wxSocketError error = m_socket->LastError();