测试插座连接的好工具? [英] Good tool for testing socket connections?

查看:92
本文介绍了测试插座连接的好工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个tcp/ip客户端,我需要一个测试服务器"才能轻松进行测试.它应该侦听可配置的端口,向我显示客户端何时连接以及客户端发送了什么,允许我手动输入要发送给客户端的文本. 它应该可以在Windows上运行.

I'm writing a tcp/ip client and I would need a "test server" to be able to test easily. It should listen on a configurable port, show me when a client connects and what the client sent, allow me to manually enter text to send to the client. It should work on Windows.

通常我会使用简单但功能强大的 nc.exe(在Unix上也可以使用别名"Netcat" ,但是防病毒软件将其检测为黑客工具",因此系统管理员不希望我在工作时使用它.

Normally I would have use the simple but powerfull nc.exe (alias "Netcat" available as well on Unix as on Windows) but the antivirus detects it as an "hacker tool" so that my system administrator doesn't want me to use it at work.

有人使用其他工具测试套接字连接并且对此感到满意吗?

Does anyone use another tool to test socket connections and is happy with it?

推荐答案

Hercules 太棒了.它是功能齐全的tcp/udp客户端/服务器,对于调试套接字非常有用.网站上的更多详细信息.

Hercules is fantastic. It's a fully functioning tcp/udp client/server, amazing for debugging sockets. More details on the web site.

这篇关于测试插座连接的好工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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