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:
ehouse 2009-12-28 00:14:09 +00:00
parent dfe1d849cd
commit a3fa0d402c

View file

@ -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 */