当前位置:网站首页>bind()系统调用的用处
bind()系统调用的用处
2022-08-04 05:30:00 【KuoGavin】
首先说CSocket不用Bind的! SOCKET才用Bind。
bind()就是把一个指定的端口分配给要bind的socket。 以后就可以用这个端口来“听“网络的请求。bind()用于server端,一般端口都是well known,以便于提供服务。 端口分配后,其他socket不能再用这个端口。相当于告诉client端“要请求服务,往这个端口发“。 client端不用bind,每建一个socket系统会分配一个临时的端口,用完后再释放。
边栏推荐
- [Copy Siege Lion Log] Flying Pulp Academy Intensive Learning 7-Day Punch Camp-Study Notes
- MNIST Handwritten Digit Recognition - From Perceptrons to Convolutional Neural Networks
- Transformer
- MOOSE平台使用入门攻略——如何运行官方教程的例子
- Tencent and NetEase have taken action one after another. What is the metaverse that is so popular that it is out of the circle?
- MNIST handwritten digit recognition, sorted by from two to ten
- arm-2-基础阶段
- [Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST
- 【CV-Learning】Object Detection & Instance Segmentation
- PostgreSQL schema (Schema)
猜你喜欢
随机推荐
动手学深度学习__张量
lstm pipeline 过程理解(输入输出)
光条中心提取方法总结(二)
LeetCode_22_Apr_4th_Week
中国联通、欧莱雅和钉钉都在争相打造的秘密武器?虚拟IP未来还有怎样的可能
Deep Learning Theory - Overfitting, Underfitting, Regularization, Optimizers
Code to celebrate the Dragon Boat Festival - Zongzi, your heart
【论文阅读】Further Non-local and Channel Attention Networks for Vehicle Re-identification
MNIST手写数字识别 —— 图像分析法实现二分类
双向LSTM
周志华机器学习
Qt日常学习
【Copy攻城狮日志】飞浆学院强化学习7日打卡营-学习笔记
MOOSE平台使用入门攻略——如何运行官方教程的例子
【论文阅读】SPANET: SPATIAL PYRAMID ATTENTION NETWORK FOR ENHANCED IMAGE RECOGNITION
[Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST
剪映专业版字幕导出随笔
[CV-Learning] Convolutional Neural Network Preliminary Knowledge
YOLOV5 V6.1 详细训练方法
Pytest common plug-in







![[CV-Learning] Semantic Segmentation](/img/ad/ff5076495fa68e4bbf3be78f5ac6f2.png)

