Portability: Fix assumption about read() and write() on connecting sockets
[adns] / regress / case-tcpblock.sys
1 adnstest anarres -0x400
2 2/test.iwj.relativity.greenend.org.uk.
3 start 962142246.340485
4 socket domain=AF_INET type=SOCK_DGRAM
5 socket=4
6 +0.000126
7 fcntl fd=4 cmd=F_GETFL
8 fcntl=~O_NONBLOCK&...
9 +0.000052
10 fcntl fd=4 cmd=F_SETFL O_NONBLOCK|...
11 fcntl=OK
12 +0.000035
13 socket domain=AF_INET type=SOCK_STREAM
14 socket=5
15 +0.000459
16 fcntl fd=5 cmd=F_GETFL
17 fcntl=~O_NONBLOCK&...
18 +0.000036
19 fcntl fd=5 cmd=F_SETFL O_NONBLOCK|...
20 fcntl=OK
21 +0.000031
22 connect fd=5 addr=172.18.45.2:53
23 connect=EINPROGRESS
24 +0.000184
25 select max=6 rfds=[4] wfds=[5] efds=[] to=13.999290
26 select=1 rfds=[] wfds=[5] efds=[]
27 +0.000937
28 select max=6 rfds=null wfds=[5] efds=null to=0.000000
29 select=1 rfds=null wfds=[5] efds=null
30 +0.000001
31 read fd=5 buflen=1
32 read=EAGAIN
33 +0.000089
34 write fd=5
35 0035311f 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
36 74790867 7265656e 656e6403 6f726702 756b0000 010001.
37 write=55
38 +0.000427
39 write fd=5
40 00353120 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
41 74790867 7265656e 656e6403 6f726702 756b0000 020001.
42 write=55
43 +0.000271
44 write fd=5
45 00353121 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
46 74790867 7265656e 656e6403 6f726702 756b0000 050001.
47 write=55
48 +0.000429
49 write fd=5
50 00353122 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
51 74790867 7265656e 656e6403 6f726702 756b0000 060001.
52 write=55
53 +0.000218
54 write fd=5
55 00353123 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
56 74790867 7265656e 656e6403 6f726702 756b0000 0c0001.
57 write=55
58 +0.000212
59 write fd=5
60 00353124 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
61 74790867 7265656e 656e6403 6f726702 756b0000 0d0001.
62 write=55
63 +0.000213
64 write fd=5
65 00353125 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
66 74790867 7265656e 656e6403 6f726702 756b0000 0f0001.
67 write=55
68 +0.000212
69 write fd=5
70 00353126 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
71 74790867 7265656e 656e6403 6f726702 756b0000 100001.
72 write=55
73 +0.000214
74 write fd=5
75 00353127 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
76 74790867 7265656e 656e6403 6f726702 756b0000 110001.
77 write=55
78 +0.000494
79 write fd=5
80 00353129 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
81 74790867 7265656e 656e6403 6f726702 756b0000 010001.
82 write=55
83 +0.000239
84 write fd=5
85 0035312a 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
86 74790867 7265656e 656e6403 6f726702 756b0000 020001.
87 write=55
88 +0.000425
89 write fd=5
90 0035312c 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
91 74790867 7265656e 656e6403 6f726702 756b0000 0f0001.
92 write=55
93 +0.000213
94 write fd=5
95 0035312d 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
96 74790867 7265656e 656e6403 6f726702 756b0000 060001.
97 write=55
98 +0.000215
99 write fd=5
100 0035312e 01000001 00000000 00000474 65737403 69776a0a 72656c61 74697669
101 74790867 7265656e 656e6403 6f726702 756b0000 110001.
102 write=55
103 +0.000236
104 select max=6 rfds=[4,5] wfds=[] efds=[5] to=29.994245
105 select=0 rfds=[] wfds=[] efds=[]
106 +30.-04653
107 close fd=4
108 close=OK
109 +0.000943
110 close fd=5
111 close=OK
112 +0.000113