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:
Vadim Zeitlin
2004-07-26 21:33:54 +00:00
parent 5c760b84fc
commit f7aa747716
4 changed files with 0 additions and 10 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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);

View File

@@ -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);