removed _GSocket::m_oriented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -48,7 +48,6 @@ struct _GSocket
 | 
			
		||||
  int m_non_blocking;
 | 
			
		||||
  int m_server;
 | 
			
		||||
  int m_stream;
 | 
			
		||||
  int m_oriented;
 | 
			
		||||
  int m_establishing;
 | 
			
		||||
  int m_reusable;
 | 
			
		||||
  struct timeval m_timeout;
 | 
			
		||||
 
 | 
			
		||||
@@ -94,7 +94,6 @@ struct _GSocket
 | 
			
		||||
  int m_non_blocking;
 | 
			
		||||
  int m_server;
 | 
			
		||||
  int m_stream;
 | 
			
		||||
  int m_oriented;
 | 
			
		||||
  int m_establishing;
 | 
			
		||||
  int m_reusable;
 | 
			
		||||
  unsigned long m_timeout;
 | 
			
		||||
 
 | 
			
		||||
@@ -466,7 +466,6 @@ GSocketError GSocket_SetServer(GSocket *sck)
 | 
			
		||||
  /* Initialize all fields */
 | 
			
		||||
  sck->m_stream   = TRUE;
 | 
			
		||||
  sck->m_server   = TRUE;
 | 
			
		||||
  sck->m_oriented = TRUE;
 | 
			
		||||
 | 
			
		||||
  /* Create the socket */
 | 
			
		||||
  sck->m_fd = socket(sck->m_local->m_realfamily, SOCK_STREAM, 0);
 | 
			
		||||
@@ -572,7 +571,6 @@ GSocket *GSocket_WaitConnection(GSocket *socket)
 | 
			
		||||
  /* Initialize all fields */
 | 
			
		||||
  connection->m_server   = FALSE;
 | 
			
		||||
  connection->m_stream   = TRUE;
 | 
			
		||||
  connection->m_oriented = TRUE;
 | 
			
		||||
 | 
			
		||||
  /* Setup the peer address field */
 | 
			
		||||
  connection->m_peer = GAddress_new();
 | 
			
		||||
@@ -659,7 +657,6 @@ GSocketError GSocket_Connect(GSocket *sck, GSocketStream stream)
 | 
			
		||||
 | 
			
		||||
  /* Streamed or dgram socket? */
 | 
			
		||||
  sck->m_stream   = (stream == GSOCK_STREAMED);
 | 
			
		||||
  sck->m_oriented = TRUE;
 | 
			
		||||
  sck->m_server   = FALSE;
 | 
			
		||||
  sck->m_establishing = FALSE;
 | 
			
		||||
 | 
			
		||||
@@ -769,7 +766,6 @@ GSocketError GSocket_SetNonOriented(GSocket *sck)
 | 
			
		||||
  /* Initialize all fields */
 | 
			
		||||
  sck->m_stream   = FALSE;
 | 
			
		||||
  sck->m_server   = FALSE;
 | 
			
		||||
  sck->m_oriented = FALSE;
 | 
			
		||||
 | 
			
		||||
  /* Create the socket */
 | 
			
		||||
  sck->m_fd = socket(sck->m_local->m_realfamily, SOCK_DGRAM, 0);
 | 
			
		||||
 
 | 
			
		||||
@@ -456,7 +456,6 @@ GSocketError GSocketBSD::SetServer()
 | 
			
		||||
  /* Initialize all fields */
 | 
			
		||||
  m_stream   = TRUE;
 | 
			
		||||
  m_server   = TRUE;
 | 
			
		||||
  m_oriented = TRUE;
 | 
			
		||||
 | 
			
		||||
  /* Create the socket */
 | 
			
		||||
  m_fd = socket(m_local->m_realfamily, SOCK_STREAM, 0);
 | 
			
		||||
@@ -562,7 +561,6 @@ GSocket *GSocketBSD::WaitConnection()
 | 
			
		||||
  /* Initialize all fields */
 | 
			
		||||
  connection->m_server   = FALSE;
 | 
			
		||||
  connection->m_stream   = TRUE;
 | 
			
		||||
  connection->m_oriented = TRUE;
 | 
			
		||||
 | 
			
		||||
  /* Setup the peer address field */
 | 
			
		||||
  connection->m_peer = GAddress_new();
 | 
			
		||||
@@ -639,7 +637,6 @@ GSocketError GSocketBSD::Connect(GSocketStream stream)
 | 
			
		||||
 | 
			
		||||
  /* Streamed or dgram socket? */
 | 
			
		||||
  m_stream   = (stream == GSOCK_STREAMED);
 | 
			
		||||
  m_oriented = TRUE;
 | 
			
		||||
  m_server   = FALSE;
 | 
			
		||||
  m_establishing = FALSE;
 | 
			
		||||
 | 
			
		||||
@@ -749,7 +746,6 @@ GSocketError GSocketBSD::SetNonOriented()
 | 
			
		||||
  /* Initialize all fields */
 | 
			
		||||
  m_stream   = FALSE;
 | 
			
		||||
  m_server   = FALSE;
 | 
			
		||||
  m_oriented = FALSE;
 | 
			
		||||
 | 
			
		||||
  /* Create the socket */
 | 
			
		||||
  m_fd = socket(m_local->m_realfamily, SOCK_DGRAM, 0);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user