We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socks5 源码: for ($i = 0; $i < 4; $i++) { // var_dump(ord($tmp[$i])); $ip += ord($tmp[$i]) * pow(256, 3 - $i); } $request['dest_addr'] = long2ip($ip);
for ($i = 0; $i < 4; $i++) { // var_dump(ord($tmp[$i])); $ip += ord($tmp[$i]) * pow(256, 3 - $i); } $request['dest_addr'] = long2ip($ip);
使用内置函数也可以解析: inet_ntop()
The text was updated successfully, but these errors were encountered:
这段是合并进来的代码,如果你觉得哪里可以优化,可以发pr哈
Sorry, something went wrong.
No branches or pull requests
Socks5 源码:
for ($i = 0; $i < 4; $i++) { // var_dump(ord($tmp[$i])); $ip += ord($tmp[$i]) * pow(256, 3 - $i); } $request['dest_addr'] = long2ip($ip);
使用内置函数也可以解析:
inet_ntop()
The text was updated successfully, but these errors were encountered: