Title:
server-and-connect-it-to-the-customer-interface.r Download
- Category:
- Applet
- Tags:
-
[Java]
[源码]
- File Size:
- 43kb
- Update:
- 2016-12-01
- Downloads:
- 0 Times
- Uploaded by:
- Vita
Description: Setting this work: a master server, and implement the interface connection to it customers. Communication protocol - either streaming protocol based on TCP / IP (note - HTTP is not a streaming protocol).
The server and client can be implemented in any programming language. The server must submit an application (for example a console) that implements the following functionality:
1. When a client connects to send him to an arbitrary number and display that number on the console
2. Upon receipt of a response the client to display the client s response to the console.
3. When a client disconnects display a message about this to the console.
4. Periodically (every x seconds) to send an arbitrary number of active clients
The client must implement the following:
1. Upon receipt of the server to bring it to the console, wait for 5 seconds and answer the same number increased by 1. So a dialogue between the client and the server will look as follows:
To Search:
File list (Check if you may need any files):
Лаба2\3_TPr_Seti_3_(OneServerToManyClient)\3_TPr_Seti_Client_3\build\classes\Client\ClientConnection.class
.........\....................................\...................\.....\.......\Form\Client$1.class
.........\....................................\...................\.....\.......\....\Client$2.class
.........\....................................\...................\.....\.......\....\Client.class
.........\....................................\...................\.....\.......\....\Client.form
.........\....................................\...................\build.xml
.........\....................................\...................\manifest.mf
.........\....................................\...................\nbproject\build-impl.xml
.........\....................................\...................\.........\genfiles.properties
.........\....................................\...................\.........\private\private.properties
.........\....................................\...................\.........\.......\private.xml
.........\....................................\...................\.........\project.properties
.........\....................................\...................\.........\project.xml
.........\....................................\...................\src\Client\ClientConnection.java
.........\....................................\...................\...\Form\Client.form
.........\....................................\...................\...\....\Client.java
.........\....................................\...........Server_3\build\built-jar.properties
.........\....................................\...................\.....\classes\ClientHandler\ClientHandler.class
.........\....................................\...................\.....\.......\_tpr_seti_server_1\Main.class
.........\....................................\...................\build.xml
.........\....................................\...................\manifest.mf
.........\....................................\...................\nbproject\build-impl.xml
.........\....................................\...................\.........\genfiles.properties
.........\....................................\...................\.........\private\private.properties
.........\....................................\...................\.........\.......\private.xml
.........\....................................\...................\.........\project.properties
.........\....................................\...................\.........\project.xml
.........\....................................\...................\src\ClientHandler\ClientHandler.java
.........\....................................\...................\...\_tpr_seti_server_1\Main.java
.........\....................................\...........Client_3\build\classes\Client
.........\....................................\...................\.....\.......\Form
.........\....................................\...................\.....\.......\pkg3_tpr_seti_client_3
.........\....................................\...........Server_3\build\classes\ClientHandler
.........\....................................\...................\.....\.......\_tpr_seti_server_1
.........\....................................\...........Client_3\build\classes
.........\....................................\...................\nbproject\private
.........\....................................\...................\src\Client
.........\....................................\...................\...\Form
.........\....................................\...........Server_3\build\classes
.........\....................................\...................\.....\empty
.........\....................................\...................\nbproject\private
.........\....................................\...................\src\ClientHandler
.........\....................................\...................\...\_tpr_seti_server_1
.........\....................................\...........Client_3\build
.........\........................