资 源 简 介
这是完整的一个C/S的客户服务端程序!但是我希望加点功能!请大家帮帮忙,“我要做的是客户端和服务器正常运行的情况下,如果网络断了,(比如说我把网络弄掉了,然后再接好)过了一会网络恢复正常,客户端能自动连接到服务器端,不能人工干涉! 我查了一些资料,在VC里有一个函数OnTimer(nIDEvent)可以定时产生事件!可以实现这个功能,但是我用了,还是连不上,请大家帮帮忙吧!做好后给我发到我的邮箱里!谢谢!-This is a complete C/S programe,but I hope put more function into it.Please help me.Fllowing is I ll want to do.When client is communicating with server normally,the network link is down. After while the link recovery(ie,I take the cable out from the computer then plug it in.)The Client can reconnect the server automatically not redo by human.I study some reference information to do it.There is a function OnTimer(nIDEvent) in VC can send event message periodically.But I still can t reconnect.Please help me to do it and then mail to me. Thanks.