Subversion Repositories Kolibri OS

Rev

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

Rev 1181 Rev 1183
Line 14... Line 14...
14
;;         Added a timer per socket to allow delays when        ;;
14
;;         Added a timer per socket to allow delays when        ;;
15
;;         rx window gets below 1KB                             ;;
15
;;         rx window gets below 1KB                             ;;
16
;;                                                              ;;
16
;;                                                              ;;
17
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
17
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 18... Line 18...
18
 
18
 
Line 19... Line 19...
19
$Revision: 1181 $
19
$Revision: 1183 $
20
 
20
 
21
 
21
 
Line 40... Line 40...
40
TH_URG	= 0x20
40
TH_URG	= 0x20
Line 41... Line 41...
41
 
41
 
Line 42... Line 42...
42
TWOMSL		    equ     10	    ; # of secs to wait before closing socket
42
TWOMSL		    equ     10	    ; # of secs to wait before closing socket
43
 
43
 
Line 44... Line 44...
44
TCP_RETRIES	    equ 	5		; Number of times to resend a packet
44
TCP_RETRIES	    equ 	5		; Number of times to resend a packet
45
TCP_TIMEOUT	    equ 	10		; resend if not replied to in x hs
45
TCP_TIMEOUT	    equ 	20		; resend if not replied to in x hs
46
 
46
 
47
;*******************************************************************
47
;*******************************************************************
Line 226... Line 226...
226
 
226
 
227
	; we have the buffer address in eax
227
	; we have the buffer address in eax
228
	mov	edi, eax
228
	mov	edi, eax
229
	pop	ecx
229
	pop	ecx
230
	; Now get buffer location, and copy buffer across. argh! more copying,,
230
	; Now get buffer location, and copy buffer across. argh! more copying,,
231
	mov	esi, resendBuffer
231
	imul	esi, ecx, IPBUFFSIZE
232
    @@: add	esi, IPBUFFSIZE
-
 
Line 233... Line 232...
233
	loop	@b
232
	add	esi, resendBuffer
234
 
233
 
Line 235... Line 234...
235
	; we have resend buffer location in esi
234
	; we have resend buffer location in esi