• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mac/carbon/

Lines Matching refs:m_socket

205   m_socket       = NULL;
265 if (m_socket)
267 GSocket_destroy(m_socket);
318 if (m_socket)
319 GSocket_Shutdown(m_socket);
359 if ( !m_socket ||
374 GSocket_SetNonBlocking(m_socket, 1);
375 ret = GSocket_Read(m_socket, (char *)buffer, nbytes);
376 GSocket_SetNonBlocking(m_socket, 0);
390 ret = GSocket_Read(m_socket, (char *)buffer, nbytes);
554 if (!m_socket || !buffer || !nbytes)
566 GSocket_SetNonBlocking(m_socket, 1);
567 ret = GSocket_Write(m_socket, (const char *)buffer, nbytes);
568 GSocket_SetNonBlocking(m_socket, 0);
582 ret = GSocket_Write(m_socket, (const char *)buffer, nbytes);
718 if (!m_socket)
728 GSocket_SetTimeout(m_socket, timeout);
746 result = GSocket_Select(m_socket, flags | GSOCK_LOST_FLAG);
826 if (!m_socket)
829 peer = GSocket_GetPeer(m_socket);
847 if (!m_socket)
850 local = GSocket_GetLocal(m_socket);
905 if (m_socket)
906 GSocket_SetTimeout(m_socket, m_timeout * 1000);
967 if (m_reading || !GSocket_Select(m_socket, GSOCK_INPUT_FLAG))
972 if (m_writing || !GSocket_Select(m_socket, GSOCK_OUTPUT_FLAG))
1109 m_socket = GSocket_new();
1111 if (!m_socket)
1120 GSocket_SetLocal(m_socket, addr_man.GetAddress());
1121 if (GSocket_SetServer(m_socket) != GSOCK_NOERROR)
1123 GSocket_destroy(m_socket);
1124 m_socket = NULL;
1130 GSocket_SetTimeout(m_socket, m_timeout * 1000);
1131 GSocket_SetCallback(m_socket, GSOCK_INPUT_FLAG | GSOCK_OUTPUT_FLAG |
1145 if (!m_socket)
1154 GSocket_SetNonBlocking(m_socket, 1);
1156 child_socket = GSocket_WaitConnection(m_socket);
1159 GSocket_SetNonBlocking(m_socket, 0);
1165 sock.m_socket = child_socket;
1168 GSocket_SetTimeout(sock.m_socket, sock.m_timeout * 1000);
1169 GSocket_SetCallback(sock.m_socket, GSOCK_INPUT_FLAG | GSOCK_OUTPUT_FLAG |
1222 if (m_socket)
1226 GSocket_destroy(m_socket);
1229 m_socket = GSocket_new();
1233 if (!m_socket)
1236 GSocket_SetTimeout(m_socket, m_timeout * 1000);
1237 GSocket_SetCallback(m_socket, GSOCK_INPUT_FLAG | GSOCK_OUTPUT_FLAG |
1246 GSocket_SetNonBlocking(m_socket, 1);
1248 GSocket_SetPeer(m_socket, addr_man.GetAddress());
1249 err = GSocket_Connect(m_socket, GSOCK_STREAMED);
1252 GSocket_SetNonBlocking(m_socket, 0);
1271 if (!m_establishing || !m_socket) // No connection in progress
1289 m_socket = GSocket_new();
1291 if (!m_socket)
1295 GSocket_SetLocal(m_socket, addr.GetAddress());
1296 if( GSocket_SetNonOriented(m_socket) != GSOCK_NOERROR )
1298 GSocket_destroy(m_socket);
1299 m_socket = NULL;
1306 GSocket_SetTimeout( m_socket, m_timeout );
1307 GSocket_SetCallback( m_socket, GSOCK_INPUT_FLAG | GSOCK_OUTPUT_FLAG |
1326 GSocket_SetPeer(m_socket, addr.GetAddress());