avatar
c*e
1
need to create a socket that only accepts http connection from localhost
and it need to work for Windows.
tried google, but didn't seem to have the right search keywords.
Thanks!
avatar
d*e
2
create a TCP socket, and bind with 127.0.0.1 and 80

【在 c**e 的大作中提到】
: need to create a socket that only accepts http connection from localhost
: and it need to work for Windows.
: tried google, but didn't seem to have the right search keywords.
: Thanks!

avatar
c*e
3
if I type in my own machine name instead of 127.0.0.1 in my IE browser,
will that work? no? the connecting client has to use 127.0.0.1?

【在 d*****e 的大作中提到】
: create a TCP socket, and bind with 127.0.0.1 and 80
avatar
B*e
4
it should work. why not just try yourself? :)

【在 c**e 的大作中提到】
: if I type in my own machine name instead of 127.0.0.1 in my IE browser,
: will that work? no? the connecting client has to use 127.0.0.1?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。