Windows Services中的TcpListener [英] TcpListener in Windows Services

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

问题描述



我需要在c#中的Windows服务中支持TcpListener的示例代码或代码片段.我已经尝试过很多次,但都未能实现它……任何iq

Hi,

I need the sample codes or snippets that supports TcpListener in windows services in c# . I was already tried many times failed to achieve it ... Any iq

推荐答案

您尝试了什么?什么地方出了错?

MS本身对TCP侦听器类的现场帮助具有很好的
What have you tried? What went wrong?

MS''s own onsite help for the TCP Listener class has a good example, you could start with this and adapt it to your needs.


这篇关于Windows Services中的TcpListener的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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