我是如何使用Java Socket实现的 [英] How I Do It Using Java Socket

查看:74
本文介绍了我是如何使用Java Socket实现的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何实现允许客户端使用UDP广播定位服务器的实用程序。

当我实现一个简单的客户端/服务器应用程序,利用您的实用程序演示其正常运行,包括优雅关闭?

以及我如何将服务器和客户端功能封装到最终用户API中以供将来的示例使用。提供在后台运行播音员服务的解决方案,并在程序终止时正常关闭(正常终止以及中断,例如CTRL + C)?

how Implement a utility which allows clients to locate servers using a UDP broadcast.
when i Implement a simple client / server application utilizing your utility demonstrating their proper operation, including graceful shutdown?
and how i do Encapsulate the server and client functionality into an end-user API to be utilized by future examples. Provide a solution for running the Announcer Service in the background and still shut it down gracefully in case of a program termination (normal termination as well as by interrupt, e.g. CTRL + C)?

推荐答案

显然,你正在向编写一些代码或文章的人提出这个问题。您需要在对该人的帖子或其文章末尾的论坛的回复中发布您的查询。
You are obviously addressing this question to someone who wrote some code, or an article. You need to post your query in the reply to that person's post, or the forum at the end of their article.


这篇关于我是如何使用Java Socket实现的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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