由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - a socket question
相关主题
Is it possible to bind several sockets to 1 port?a difficult question
[转载] how to unbind a socket?Socker Release.
who knows how to use nslookup?[转载] socket 急救
问一个通过socket 获得request source IP的问题How to send packet on a chosen interface?THX!
哪位大虾给偶讲讲socket?dynamic assigned port number for UDP socket, need help!
help! cannot bind to socket!请教高手:如何检查Socket的另一端已经被异常终
command line socket toolsA Unix question
紧急求助!求救: 我的EXCEED怎么不工作了? 有办法解决么?
相关话题的讨论汇总
话题: socket话题: rebind话题: so话题: question
进入Unix版参与讨论
1 (共1页)
c***i
发帖数: 188
1
if i close 1 binded socket and immediately open it and rebind it.
if the socket still have data to send when being closed , i can not
rebind it immediately, i 've set the option SO_REUSEADDR but still
fail.
what's the best way to deal with such things, this happens when ur
server crashed and u want to restart it immiediately, right now
i just wait for the bind to succeed, but usually it will take about
1+ min.
PS: seems linux (redhat 6.2) do not support SO_REUSEPORT, and i'm using
TCP socket.
th
1 (共1页)
进入Unix版参与讨论
相关主题
求救: 我的EXCEED怎么不工作了? 有办法解决么?哪位大虾给偶讲讲socket?
[转载] why need dup?help! cannot bind to socket!
网络编程如何进行错误处理command line socket tools
Asking for help on TCP server programming紧急求助!
Is it possible to bind several sockets to 1 port?a difficult question
[转载] how to unbind a socket?Socker Release.
who knows how to use nslookup?[转载] socket 急救
问一个通过socket 获得request source IP的问题How to send packet on a chosen interface?THX!
相关话题的讨论汇总
话题: socket话题: rebind话题: so话题: question