博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
TCP : two different sockets sharing a port?
阅读量:4359 次
发布时间:2019-06-07

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

server socket listens on a single port. All established client connections on that server are associated with that same listening port on the server side of the connection. An established connection is uniquely identified by the combination of client-side and server-side IP/Port pairs. Multiple connections on the same server can share the same server-side IP/Port pair as long as they are associated with different client-side IP/Port pairs, and the server would be able to handle as many clients as available system resources allow it to.

On the client-side, it is common practice for new outbound connections to use a random client-side port, in which case it is possible to run out of available ports if you make a lot of connections in a short amount of time.

 

来自:http://stackoverflow.com/questions/11129212/tcp-two-different-sockets-sharing-a-port

转载于:https://www.cnblogs.com/sunxucool/p/5541249.html

你可能感兴趣的文章
JNI和NDK的关系
查看>>
centos7 学习1 KDE配置中文
查看>>
C语言陷阱:浮点运算
查看>>
AngularJS XMLHttpRequest
查看>>
Java反射-方法(Method)
查看>>
移除SharePoint2013里的NoteBook笔记本链接
查看>>
数据集
查看>>
Objective-C内存管理教程和原理剖析(四)
查看>>
Android:源码环境下移植第三方的apk内置到ROM(System Image)中
查看>>
Android 之SparseArray<E>详解
查看>>
php面试的那些“黑话”
查看>>
poi快速导入导出excel表格
查看>>
修改删除修改4.1.2拨号盘和移动删除键位置
查看>>
RESTClient插件POST方法传递参数
查看>>
hibernate注解——@Temporal
查看>>
漫画:什么是微服务?
查看>>
Spring 容器初始化源码跟读refresh07
查看>>
案例52-crm练习新增客户中加入文件上传功能(struts2文件上传)
查看>>
jdbctype vs javatype
查看>>
CCS float vs clear
查看>>