Rev 3704 | Rev 3711 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3704 | Rev 3705 | ||
---|---|---|---|
Line 298... | Line 298... | ||
298 | jz .nobuffs |
298 | jz .nobuffs |
Line 299... | Line 299... | ||
299 | 299 | ||
300 | mov [esp+32], edi ; return socketnumber |
300 | mov [esp+32], edi ; return socketnumber |
Line 301... | Line -... | ||
301 | DEBUGF DEBUG_NETWORK_VERBOSE, "socknum=%u\n", edi |
- | |
302 | 301 | DEBUGF DEBUG_NETWORK_VERBOSE, "socknum=%u\n", edi |
|
303 | ; push edx |
- | |
304 | ; and edx, SO_NONBLOCK |
302 | |
- | 303 | test edx, SO_NONBLOCK |
|
305 | ; or [eax + SOCKET.options], SO_NONBLOCK ;edx ; HACK: make all sockets non-blocking untill API and applications are fixed |
304 | jz @f |
- | 305 | or [eax + SOCKET.options], SO_NONBLOCK |
|
Line 306... | Line 306... | ||
306 | ; pop edx |
306 | and edx, not SO_NONBLOCK |
307 | ; and edx, not SO_NONBLOCK |
307 | @@: |
308 | 308 |