文件名称:time
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- linch******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
The following program uses the Daytime protocol to obtain the date and time from
port 13 of user-specified host(s). It provides a text field for input of the host name
by the user and a text area for output of the host’s response. There are also two
buttons, one that the user presses after entry of the host name and the other that
closes down the program. The text area is ‘wrapped’ in a JScrollPane, to cater for
long lines of output, while the buttons are laid out on a separate panel. The
application fr a me itself will handle the processing of button presses, and so
implements the ActionListener interface. The window-closing code (encapsulated in
an anonymous WindowAdapter object) ensures that any socket that has been opened
is closed before exit from the program.
port 13 of user-specified host(s). It provides a text field for input of the host name
by the user and a text area for output of the host’s response. There are also two
buttons, one that the user presses after entry of the host name and the other that
closes down the program. The text area is ‘wrapped’ in a JScrollPane, to cater for
long lines of output, while the buttons are laid out on a separate panel. The
application fr a me itself will handle the processing of button presses, and so
implements the ActionListener interface. The window-closing code (encapsulated in
an anonymous WindowAdapter object) ensures that any socket that has been opened
is closed before exit from the program.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DaytimeServer.java
GetRemoteTime.java
GetRemoteTime.java