bindidshutpp是什么意思思

&&/&&&&/&&&&/&&
相关函数:socket, accept, connect, listen
头文件:#include &sys/types.h& &&#include &sys/socket.h&
定义函数:int bind(int sockfd, struct sockaddr * my_addr, int addrlen);
函数说明:bind()用来设置给参数sockfd 的socket 一个名称. 此名称由参数my_addr 指向一sockaddr 结构,对于不同的socket domain 定义了一个通用的数据结构
struct sockaddr
& &unsigned short int sa_
& &char sa_data[14];
1、sa_family 为调用socket()时的domain 参数, 即AF_xxxx 值.
2、sa_data 最多使用14 个字符长度.
此sockaddr 结构会因使用不同的socket domain 而有不同结构定义, 例如使用AF_INET domain,其socketaddr 结构定义便为
struct socketaddr_in
& &unsigned short int sin_
& &uint16_t sin_
& &struct in_addr sin_
& &unsigned char sin_zero[8];
struct in_addr
& &uint32_t s_
1、sin_family 即为sa_family
2、sin_port 为使用的port 编号
3、sin_addr. s_addr 为IP 地址 sin_zero 未使用.
参数 addrlen 为sockaddr 的结构长度.
返回值:成功则返回0, 失败返回-1, 错误原因存于errno 中.
错误代码:
1、EBADF 参数sockfd 非合法socket 处理代码.
2、EACCESS 权限不足
3、ENOTSOCK 参数sockfd 为一文件描述词, 非socket.
范例:参考listen()
微信公众号:
各位粉丝,大家好,我是C语言中文网的站长(可以了解我),C语言中文网已经开通了微信公众号,名字是「码农宿舍」(不是C语言中文网哦),我将在这里和大家交流编程知识以及工作经验。大家可以搜索名字「码农宿舍」关注,也可以用微信扫描右边的二维码关注。
当你决定关注「码农宿舍」,你已然超越了99%的程序员!高频词,一定要记得哦!
n. 窘境;讨厌的事情;捆绑;植物的藤蔓v. 捆绑;约束;装订;(使)结合;使关系密切
Their refusal to sign the contract has put us in a bit of a bind.
他们拒绝签约,从而使我们的处境有些困难。
When he asked me to marry him, I felt in a bind.
当他向我求婚时,我感到很窘迫。
It is expensive to buy and a bind to carry home.
买这个费用很贵,搬回家也费劲。
Love rules without a sword and bind without a cord.
爱的统治不用刀枪,捆绑不用绳索。
She bound up her hair with a handkerchief.
她用手绢把头发扎了起来。
We have no official business to bind us.
我们没有公务的约束。
The treaty binds each country to reduce pollution levels.
该条约迫使各国减少污染排放。
The publishing house decided to bind the new book in leather.
这家出版社决定用皮面装帧新书。
Each volume is bound in bright-coloured cloth.
每一卷都采用色彩亮丽的布面装帧。
Bind the edge of the rug so that it wont ravel.
把地毯边镶好以免绽线。
Bind the mixture with the raw minced liver and cook for 3 minutes more.
让混合物滚上切碎的生肝脏,烹饪3分钟以上。
Let's bind together to resist aggression.
让我们团结起来抵御侵略。
Ties of trade bind nations in closest intimacy.
贸易往来使国与国之间的关系十分密切。
1.something that hinders as if with bonds
1.stick to firmly
Will this wallpaper adhere to the wall?
2.create social or emotional ties
The grandparents want to bond with the child
3. tie or secure, with or as if with a rope
The Chinese would bind the feet of their women
4.wrap around with something so as to cover or enclose
5.secure with or as if with ropes
tie down the prisoners
tie up the old newspapers and bring them to the recycling shed
6.b cause to be indebted
He's held by a contract
I'll hold you by your promise
7.form a chemical bond with
The hydrogen binds the oxygen
8.provide with a binding
Bind the books in leather
9.fasten or secure with a rope, string, or cord
They tied their victim to the chair
10.cause to be constipated
These foods tend to constipate you
只有登录后,才能查看此项,现在是否?
1.They bind her hands together.
他们把她的双手绑在一起。
2.Please bind the carpet before cleaning it.
请在清洗地毯以前把边滚一下。
3.Please bind these books for me.
请帮我把这些书捆起来。
4.Let's bind together to resist aggression.
让我们团结起来抵御侵略。
5.Please bind these books for me.
请帮我把这些书捆起来。
好文推荐:我的QQ中心IP化改造后IU接口的transport layer address和bind.. - 通信技术你问我答 -
纯技术讨论者的天地 - Powered by C114
&问答管理员: &&
已关闭问题
IP化改造后IU接口的transport layer address和bind ID什么意思?
提问时间: 11:48
RAB-Assignment-Request消息分配用户面的时候指定的transport layer address和binding id这两个参数代表什么意思?和用户面的地址和端口号还是说别的什么东西有关联?
&& 问题答案 (&0&条&)

我要回帖

更多关于 狗带是什么意思 的文章

 

随机推荐