Subversion Repositories Kolibri OS

Rev

Rev 3459 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3459 Rev 3461
Line 13... Line 13...
13
;;         GNU GENERAL PUBLIC LICENSE                              ;;
13
;;         GNU GENERAL PUBLIC LICENSE                              ;;
14
;;          Version 2, June 1991                                   ;;
14
;;          Version 2, June 1991                                   ;;
15
;;                                                                 ;;
15
;;                                                                 ;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 17... Line 17...
17
 
17
 
Line 18... Line 18...
18
$Revision: 3459 $
18
$Revision: 3461 $
Line 19... Line 19...
19
 
19
 
Line 874... Line 874...
874
        mov     [esp+32], ecx                                   ; return number of bytes available
874
        mov     [esp+32], ecx                                   ; return number of bytes available
875
        ret
875
        ret
Line 876... Line 876...
876
 
876
 
877
  .block:
877
  .block:
878
        test    [eax + SOCKET.options], SO_NONBLOCK
878
        test    [eax + SOCKET.options], SO_NONBLOCK
Line 879... Line 879...
879
        jnz     s_error
879
        jnz     .return0
880
 
880
 
Line -... Line 881...
-
 
881
        call    SOCKET_block
-
 
882
        jmp     .loop
-
 
883
 
-
 
884
  .return0:
-
 
885
        xor     ecx, ecx
Line 881... Line 886...
881
        call    SOCKET_block
886
        mov     [esp+32], ecx
882
        jmp     .loop
887
        ret
883
 
888
 
884
 
889