From: Vadim Zeitlin Date: Mon, 26 Jul 2004 21:33:54 +0000 (+0000) Subject: removed _GSocket::m_oriented X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f7aa74771682123e709f9877b0ff6dfdc1fc099c removed _GSocket::m_oriented git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/gsockmsw.h b/include/wx/msw/gsockmsw.h index 3961fc9429..848fede04d 100644 --- a/include/wx/msw/gsockmsw.h +++ b/include/wx/msw/gsockmsw.h @@ -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; diff --git a/include/wx/unix/gsockunx.h b/include/wx/unix/gsockunx.h index fd96f7d08e..fe88b7ded3 100644 --- a/include/wx/unix/gsockunx.h +++ b/include/wx/unix/gsockunx.h @@ -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; diff --git a/src/unix/gsocket.c b/src/unix/gsocket.c index 3f1b7f4edd..a4c56eda60 100644 --- a/src/unix/gsocket.c +++ b/src/unix/gsocket.c @@ -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); diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 89dbef4603..bc9217aadd 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -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);