由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 初级socket问题
相关主题
TCP转发的问题求建议:C++的TCP/IP编程库
socket re-connection problemSocket accept failed - WSAEMFILE
Help: Socket.SendFile() cannot be recognized by c# compiler研讨一下TCP fragment的问题
Linux Socket编程The WhatsApp Architecture
问个关于socket问题C10M 练习2: 空TCP 连接,1M per 4G RAM
问个socket close的问题C10M除了socket以外,还牵涉其他方面的技巧
An interview project: asynchronous socket programming这次python糗大了
C++网络编程问题node.js里面,哪些操作用http,哪些用websocket(tcp) ?
相关话题的讨论汇总
话题: socket话题: windows话题: need话题: work话题: create
进入Programming版参与讨论
1 (共1页)
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?

1 (共1页)
进入Programming版参与讨论
相关主题
node.js里面,哪些操作用http,哪些用websocket(tcp) ?问个关于socket问题
[合集] 问个SOCKET问题啊 (转载)问个socket close的问题
socket被block在accept的时候不能close……An interview project: asynchronous socket programming
想知道家在linux下都有什么c++ socket libraryC++网络编程问题
TCP转发的问题求建议:C++的TCP/IP编程库
socket re-connection problemSocket accept failed - WSAEMFILE
Help: Socket.SendFile() cannot be recognized by c# compiler研讨一下TCP fragment的问题
Linux Socket编程The WhatsApp Architecture
相关话题的讨论汇总
话题: socket话题: windows话题: need话题: work话题: create