Skip to content

Java socket program establishes a connection between server and client.

License

Notifications You must be signed in to change notification settings

tsdamas/socket.project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socket.project

This project was developed during my first semester at the College to practice socket programming and establishing a connection between server and client.

Description

This project creates a client, server and stablishes a connection between them. I used Socket, Printwriter and Scanner classes to read and send messages. Here is how:

  • Socket class was used to create a socket to stabilish a connection between the two parties
  • PrintWriter class was used to send messages through the stream
  • Scanner class to read messages sent through the stream

The printwriter and Scanner class was used instead of the socket class stream, because it is easier to implement than the socket class.

Contribution Guidelines

The contribution guidelines are as per the guide HERE(https://github.com/tsdamas/weather-forecast-app/blob/main/CONTRIBUTIONS).

Instructions Fork this Repository Clone your forked repository Add your scripts Commit & Push Create a pull request Star this repository Wait for Pull Request to merge Celebrate, your first step into the open Source World and contribute more

Note: When you Add a project Add it to the README for ease of finding it Note: Please do not put the project link to reference your local forked repo. Always link it to this repo after it's been merged with main.

License

MIT License

Built with

  • Java

Links

Author

Thais Damasceno

About

Java socket program establishes a connection between server and client.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages