Subversion Repositories Kolibri OS

Rev

Rev 3264 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3264 Rev 3267
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: 3264 $
18
$Revision: 3267 $
Line 19... Line 19...
19
 
19
 
Line 719... Line 719...
719
        jz      s_error
719
        jz      s_error
Line 720... Line 720...
720
 
720
 
Line 721... Line 721...
721
        mov     dword [esp+32], 0                               ; The socket exists, so we will succeed in closing it.
721
        mov     dword [esp+32], 0                               ; The socket exists, so we will succeed in closing it.
-
 
722
 
-
 
723
  .socket:
-
 
724
        or      [eax + SOCKET.options], SO_NONBLOCK             ; Mark the socket as non blocking, we dont want it to block any longer!
-
 
725
 
-
 
726
        test    [eax + SOCKET.state], SS_BLOCKED                ; Is the socket still in blocked state?
-
 
727
        jz      @f
-
 
728
        call    SOCKET_notify.unblock                           ; Unblock it.
722
 
729
  @@:
723
  .socket:
730
 
Line 724... Line 731...
724
        cmp     [eax + SOCKET.Domain], AF_INET4
731
        cmp     [eax + SOCKET.Domain], AF_INET4
725
        jne     .free
732
        jne     .free