可以在互联网上使用的聊天应用程序

可以在互联网上使用的聊天应用程序

问题描述:

Internet上有许多文章介绍了使用WCF,套接字等在Intranet上进行聊天的方法.但是,它们都无法在Internet上工作.如果有的话,他们会使用计时器来执行此操作,我不希望这样做.

我想构建一个WCF聊天引擎,该引擎可以在Internet上进行异步通信(猜测应该是HTTP).

我没有办法启动它.
我应该使用套接字还是WCF?
服务器将如何将消息传输到其客户端?
我如何跟踪具有动态IP且动态变化的客户端?
我应该使用什么技术?

请让我知道出路.
而且我只希望使用编码,而无需第三方插件.

There are numerous articles on internet explaining ways to chat over intranet using WCF, sockets etc. But none of them work over the internet. If some do, they do it with timer, which I don''t prefer.

I would like to build a WCF chat engine which can communicate asynchronously on Internet (guess that should be HTTP).

I am not getting the way to start it.
Should I use sockets or WCF?
How will the server transfer messages to its clients?
How will I keep track of clients as they have dynamic IP and it tends to change?
What technology should I use?

Please let me know the way out.
And I wish to use coding only, no third party plugins etc.

它们都可以在Internet上运行.是的,WCF应该很好.您不必担心客户端的IP地址,因为只要它们与Internet的连接处于活动状态,它们就不会更改.他们的IP唯一会改变的(大约99.99%的时间)是他们重新启动电缆调制解调器/路由器上的电源.

了解WCF之后,您将了解消息流量的工作原理.
They ALL work over the internet. And yes, WCF should be fine. You don''t have to worry about clients IP addresses because they don''t change as long as their connection to the internet is alive. The only time their IP will change (about 99.99% of the time) is if they cycle the power on their cable modem/router.

Once you understand WCF, you''ll understand how the message traffic works.