Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

In this programming project, you are asked to code in java. You are to develop a small client-server application, that works like a telnet. SERVER:

In this programming project, you are asked to code in java. You are to develop a small client-server application, that works like a telnet.

SERVER:

- Need to create a passwd.txt file with the following format:(username, password, full name, major, advisor)

- The password.txt is on your working to directory.

- Listen to atleast three clients

-As for valid access, the server sends messages: "Welcome to CPSC 445-Comp Networking class" and "You are invited to Your Own Machine Name"

-As for invalid access, the server sends: "Only for ESU CPSC Students taking CPSC 445" and "You are not invited yet"

CLIENT:

- Each client can telnet a server with the followings "Welcome to Computer Science Department"

" " " "

"Login:xxxxxxxx"

"Password:wwwwwww"

image text in transcribed

CPSC445 NETWORK AND DATA COMM SPRING 2019 Assignment 1 (30) Title: Simple Telnet Program Due Date: Sunday, 02/10/2019 Socket programming is one of the most important part of computer networks that utilize sockets extensively. In order to communicate with other machines your machine works as a client or server. In this programming project, you are asked to develop a small client-server aplication that works like a telnet program. Modify the client-server program or satisfying the following requirements. Server Need to create a passwd.txt file with the following format: (username, password, full name, major, advisor): Create at least five users for the passwd.txt: The passwd.txt is on your working directory: Listen to at least three clients: . As for a valid access, the server send messages "Welcome to CPSC445-Comp Networking class" "You are invited to use Your Own Name Machine" . As for an invalid access, the server send messages: "Only for ESU CPSC Students taking CPSC445" "You are not yet invited yet" . Each client can try up to three times for getting a valid access: Client Each client can telnet a server with the followings: Welcome to Computer Science Department" Login: xxxxxxxx" Passwd: wwwwwww" //User name can be up to eight characters: You open two more Terminals to provide other clients' access to the server: Cut and paste your implementation. Turn in your printout in class and upload your source program with the passwd.txt to the class D2L CPSC445 NETWORK AND DATA COMM SPRING 2019 Assignment 1 (30) Title: Simple Telnet Program Due Date: Sunday, 02/10/2019 Socket programming is one of the most important part of computer networks that utilize sockets extensively. In order to communicate with other machines your machine works as a client or server. In this programming project, you are asked to develop a small client-server aplication that works like a telnet program. Modify the client-server program or satisfying the following requirements. Server Need to create a passwd.txt file with the following format: (username, password, full name, major, advisor): Create at least five users for the passwd.txt: The passwd.txt is on your working directory: Listen to at least three clients: . As for a valid access, the server send messages "Welcome to CPSC445-Comp Networking class" "You are invited to use Your Own Name Machine" . As for an invalid access, the server send messages: "Only for ESU CPSC Students taking CPSC445" "You are not yet invited yet" . Each client can try up to three times for getting a valid access: Client Each client can telnet a server with the followings: Welcome to Computer Science Department" Login: xxxxxxxx" Passwd: wwwwwww" //User name can be up to eight characters: You open two more Terminals to provide other clients' access to the server: Cut and paste your implementation. Turn in your printout in class and upload your source program with the passwd.txt to the class D2L

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students explore these related Databases questions