听不同的端口 [英] listening different port

查看:72
本文介绍了听不同的端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好..

我正在尝试生成一个代码来监听端口说8080然后在该端口上获取一些事件它将停止监听并将开始监听到其他一些端口说8081然后一段时间后它应该再次开始收听以前的端口。我使用
C ++。基本上我从这些端口广播多个不同的文件。所以请详细告诉我如何这样做。

I am trying to generate a code to listen to a port say 8080 then on getting some event on that port it will stop listening and will start listening to some other port say 8081 then after some time it should again start listening to previous port. I am using C++. Basically I am broadcasting multiple different files from these ports. So please tell me how to do so in detail.

推荐答案

你好gm09,

Hi gm09,

由于此论坛正在讨论并询问有关Visual Basic编程语言,IDE,库,示例和工具的问题,以及你说你使用C ++,我建议你在B ++论坛上提问你的

Since this forum is discussing and asking questions about the Visual Basic programming language, IDE, libraries, samples, and tool, and you said that you use C++, I suggest you to ask your question at C++ forum.

感谢您的理解和支持。

最好的问候,

Cherry


这篇关于听不同的端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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