Differences From Artifact [18b13e00e6]:
- File
src/OFTCPSocket+SOCKS5.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 3448) [annotate] [blame] [check-ins using]
To Artifact [8e795b494e]:
- File src/OFTCPSocket+SOCKS5.m — part of check-in [5a31a537a1] at 2017-02-04 17:45:33 on branch trunk — Fix typos in comments and strings found by aspell (user: js, size: 3449) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
116 117 118 119 120 121 122 |
}
/* Skip the rest of the reply */
switch (reply[3]) {
case 1: /* IPv4 */
recv_exact(self, _socket, reply, 4);
break;
| | | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
}
/* Skip the rest of the reply */
switch (reply[3]) {
case 1: /* IPv4 */
recv_exact(self, _socket, reply, 4);
break;
case 3: /* Domain name */
recv_exact(self, _socket, reply, 1);
recv_exact(self, _socket, reply, reply[0]);
break;
case 4: /* IPv6 */
recv_exact(self, _socket, reply, 16);
break;
default:
|
| ︙ | ︙ |