Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
QT 中 Socket->connectToHost()将会把 Socket 绑定什么端口
社区开发
2744
views ·
2
replies ·
To
floor
Go
空山棋盘
deepin
2014-06-10 07:51
Author
QT中,client端Socket->connectToHost()将会把Socket绑定什么端口?
如何获得这个Socket被绑定(占用)的端口?
在server端可以得到它被绑定的端口,在client端怎么得到自己被绑定到哪个端口?
哪位大神给指点下吧。多谢!
Reply
Like 0
Favorite
View the author
All Replies
coldlook
deepin
2014-06-10 17:23
#1
端口号不是自己设置的吗?
Reply
Like 0
View the author
tsuibin
deepin
2014-09-12 18:17
#2
你需要指定端口号
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Wifi problem.
Popular Events
More
如何获得这个Socket被绑定(占用)的端口?
在server端可以得到它被绑定的端口,在client端怎么得到自己被绑定到哪个端口?
哪位大神给指点下吧。多谢!