首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > Testing TCP and UDP socket servers using C# and .NETWhen you re developing a TCP...

Testing TCP and UDP socket servers using C# and .NETWhen you re developing a TCP...

  • 资源大小:108.54 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: TCP/IP协议 others

资 源 简 介

Testing TCP and UDP socket servers using C# and .NETWhen you re developing a TCP/IP server application it s easy to test it poorly. It s easy to fire requests into a server, check the responses and assume that s enough. Even if you re testing using the actual production client application you may find that you are failing to fully test the server under heavy load or unusual network conditions. You may be using two or more machines, but your development network probably doesn t cause the kind of packet fragmentation and delays that you might encounter in the wild. Often when testing in the development environment your server only ever receives complete, distinct messages, and this can lead novice developers to assume that this is how it always is. As we pointed out in a previous article, the server developer is always responsible for breaking up the TCP byte stream into protocol specific chunks.

文 件 列 表

SocketServerTest
EchoServerExTest
EchoServerTest
LargePacketEchoServerTest
PacketEchoServerTest
SimpleProtocolServerTest
SocketServerTest
SocketServerTest.Interface
SocketServerTest.sln
SocketServerTest.vssscc
vssver.scc
VIP VIP
0.313127s