且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法将客户端连接到服务器

更新时间:2022-06-21 21:30:14

您好,

我自己完成了这项工作,并且知道要花多少钱才能开始工作.您可能希望看一下我的文章,特别是这篇文章:
快速网络库2 [ http://networkinglibrary.codeplex.com/ [ ^ ]

希望这会有所帮助,
埃德

P.s.确保您的服务器正在侦听IPv4地址,并且您的客户端也在尝试连接到IPv4版本,这可能是您的问题.
Hi there,

I have done this myself and know how much of a pin it s to get working. You may wish to take a look at my articles, in particular this one:
Fast Networking Library 2[^]

or take a look at my latest version of it on CodePlex:
http://networkinglibrary.codeplex.com/[^]

Hope this helps,
Ed

P.s. Make sure your server is listeneing on the IPv4 address and that your client is also trying to connect to the IPv4 version, this may be your problem.