博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SO_REUSEADDR & SO_REUSEPORT
阅读量:4316 次
发布时间:2019-06-06

本文共 380 字,大约阅读时间需要 1 分钟。

Wonderful explaination about SO_REUSEADDR and SO_REUSEPORT.

Main purpose of SO_REUSEADDR:

1) When a socket have already been binded to 0.0.0.0:port, another socket can be binded to an exactly IP and the same port as before.

2) If a socket was closed and is in state TIME_WAIT, it's ip&port can be binded by another socket.

转载于:https://www.cnblogs.com/tanghuimin0713/p/5730206.html

你可能感兴趣的文章
使用case语句给字体改变颜色
查看>>
JAVA基础-多线程
查看>>
面试题5:字符串替换空格
查看>>
JSP九大内置对象及四个作用域
查看>>
ConnectionString 属性尚未初始化
查看>>
数据结构-栈 C和C++的实现
查看>>
MySQL基本命令和常用数据库对象
查看>>
poj 1222 EXTENDED LIGHTS OUT(位运算+枚举)
查看>>
进程和线程概念及原理
查看>>
Lucene、ES好文章
查看>>
android 生命周期
查看>>
jquery--this
查看>>
MySQL 5.1参考手册
查看>>
TensorFlow安装流程(GPU加速)
查看>>
OpenStack的容器服务体验
查看>>
【BZOJ 4059】 (分治暴力|扫描线+线段树)
查看>>
BZOJ 1066 蜥蜴(网络流)
查看>>
提高批量插入数据的方法
查看>>
Linux重启Mysql命令
查看>>
前端模块化:RequireJS(转)
查看>>