Rev 3601 | Rev 5545 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3601 | Rev 3704 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | include '../../../struct.inc' |
5 | include '../../../struct.inc' |
6 | include '../../../proc32.inc' |
6 | include '../../../proc32.inc' |
7 | include '../../../macros.inc' |
7 | include '../../../macros.inc' |
8 | purge section,mov,add,sub |
8 | purge section,mov,add,sub |
Line 9... | Line 9... | ||
9 | 9 | ||
Line 10... | Line 10... | ||
10 | include 'network.inc' |
10 | include '../../../network.inc' |
Line 11... | Line 11... | ||
11 | 11 | ||
12 | section '.flat' code readable align 16 |
12 | section '.flat' code readable align 16 |
Line 759... | Line 759... | ||
759 | push ebx esi edi |
759 | push ebx esi edi |
760 | mov edi, [.reqdata] |
760 | mov edi, [.reqdata] |
761 | ; 2. Read UDP datagram. |
761 | ; 2. Read UDP datagram. |
762 | mov ecx, [edi+__gai_reqdata.socketnum] |
762 | mov ecx, [edi+__gai_reqdata.socketnum] |
763 | push edi |
763 | push edi |
764 | mcall 75, 7, , , 512, 0 |
764 | mcall 75, 7, , , 512, MSG_DONTWAIT |
765 | pop edi |
765 | pop edi |
766 | ; 3. Ignore events for other socketnums (return if no data read) |
766 | ; 3. Ignore events for other socketnums (return if no data read) |
767 | test eax, eax |
767 | test eax, eax |
768 | jz .ret.more_processing_required |
768 | jz .ret.more_processing_required |
769 | ; 4. Sanity check: discard too short packets. |
769 | ; 4. Sanity check: discard too short packets. |