Find Jobs
Hire Freelancers

Simple Java Client/Server Application

$30-250 USD

Færdiggjort
Slået op over 9 år siden

$30-250 USD

Betales ved levering
You are to write a Hybrid version of P2P and Client/Server application. It follows a similar yet way simpler architecture as Skype. The application consists of two programs. The first program is a Server that authenticates in a rather simplistic way users before they can engage in a chat. For the purposes of this project, the server will keep track of only 5 users in a basic plain text file. This file contains a name and an IP address. Example: Sam [login to view URL] Ann [login to view URL] Lou [login to view URL] Mary [login to view URL] Jack [login to view URL] If you're doing all in one computer and without the use of virtual machines, you could have [login to view URL] for all users as all will be running locally. The second application is the one which asks the user for its name and afterwards will initially connect to the Server to authenticate and upon successful authentication, will get the list of all the peers in their locations. The success of the authentication depends whether the user is registered or not in the list of the server. If the user name is not in the list, then the server will reply NULL instead of the list of user and locations. If NULL is received the application should print an error message accordingly and reask again for a user name. Each peer should do the procedure mentioned above prior to chatting. After there are at least two peers at least ON, then they can start chatting sending messages back and forth. These chat paradigm is in a pure P2P fashion. For this purpose, a multithreaded portion is necessary here. The multithreaded portion requires a thread running a client part and a thread running the server part. The client thread send messages and the server thread allows for receiving them. The first part of the project where authentication happens with the server must be done using TCP sockets. The second part of the project where chat happens between peers must be done using UDP sockets. A simple GUI and notes on what each part does. I will run this in NetBeans. This should be very simple, nothing complicated.
Projekt-ID: 6517596

Om projektet

2 forslag
Projekt på afstand
Aktiv 10 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
I have worked on the P2P project using open source technology JXTA ([login to view URL]). But it is for more secure, reliable communications across firewall with less of development efforts. In this project use case we can try with Java Sockets
$155 USD på 3 dage
5,0 (1 bedømmelse)
2,4
2,4
2 freelancere byder i gennemsnit $204 USD på dette job
Brug Avatar.
A proposal has not yet been provided
$252 USD på 5 dage
4,7 (376 anmeldelser)
7,4
7,4

Om klienten

Flag for UNITED STATES
Miami, United States
4,9
3
Betalingsmetode verificeret
Medlem siden sep. 28, 2014

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.