如何解决套接字异常 [英] How to resolve socket exception

查看:150
本文介绍了如何解决套接字异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此错误通常只允许使用每个套接字地址(协议/网络地址/端口)。



你能不能给我您的建议或解决方案





谢谢

I am getting this error "only one usage of each socket address (protocol/network address/port) is normally permitted".

Can you please give me your suggestion or solutions


Thanks

推荐答案

Santhakumar Munuswamy回复:
Santhakumar Munuswamy replied:



好​​的谢谢。如果你知道


Ok Thanks. Can you please let me any other way if you know

没有,请你能以任何其他方式告诉我。如果您尝试在两个不同的地方以相同的地址侦听新的TCP连接,并且某个客户端正在尝试连接,那么计算机如何知道要唤醒的线程以及要连接的内容?



-SA

No. If you try to listen for new TCP connection at the same exact address in two different places, and some client is trying to connect, how a computer could possibly know what thread to wake up and what to connect with?

—SA


这篇关于如何解决套接字异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆