没有专用服务器如何制作聊天应用程序? [英] How to make a chat application without a dedicated server?

查看:85
本文介绍了没有专用服务器如何制作聊天应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发一个不会使用任何专用服务器的局域网聊天应用程序,即无人需要主机。我的问题是,当应用程序启动时,它需要知道还有谁在lan上使用相同的应用程序。一旦应用知道所有的IP地址就完成了。有任何想法这样做?提前致谢。 :)

解决方案

也许你应该看一下对等名称解析协议 [ ^ 。这听起来很有希望,虽然我还没有深入了解它。



问候,



曼弗雷德

Hi everyone,
I am working on a lan chat application which will not use any dedicated server i.e. no one needs to host. my problem is when the application starts it needs to know who else are using the same app on lan. once the app knows all the ip address it is done. got any idea to do this? thanks in advance. :)

解决方案

Maybe you should have a look at the Peer Name Resolution Protocol[^]. It sounds rather promising although I have not yet had a deeper look at it.

Regards,

Manfred


这篇关于没有专用服务器如何制作聊天应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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