mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-25 09:58:11 +01:00
Don't call getHostAddr until have data to send: it's flat-out wrong on
wince, and works better when done later.
This commit is contained in:
parent
dfe1d849cd
commit
a3fa0d402c
1 changed files with 5 additions and 1 deletions
|
@ -366,7 +366,11 @@ ce_sockwrap_new( MPFORMAL HWND hWnd, DataRecvProc dataCB,
|
|||
|
||||
bqInit( &self->queueOut, self->bufOut, sizeof(self->bufOut) );
|
||||
|
||||
getHostAddr( self );
|
||||
/* #ifdef _WIN32_WCE */
|
||||
/* openNetwork( self ); /\* kicks off connection process *\/ */
|
||||
/* #else */
|
||||
/* getHostAddr( self ); /\* kicks off connection process *\/ */
|
||||
/* #endif */
|
||||
return self;
|
||||
} /* ce_sockwrap_new */
|
||||
|
||||
|
|
Loading…
Reference in a new issue