c**e 发帖数: 3760 | 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! |
d*****e 发帖数: 7368 | 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!
|
c**e 发帖数: 3760 | 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
|
B******e 发帖数: 48 | 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?
|