Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pasan-pahasara/socket-programming-basic
A socket is a software endpoint that can create a bidirectional communication channel between a server and a client.
https://github.com/pasan-pahasara/socket-programming-basic
java socket-programming
Last synced: about 2 months ago
JSON representation
A socket is a software endpoint that can create a bidirectional communication channel between a server and a client.
- Host: GitHub
- URL: https://github.com/pasan-pahasara/socket-programming-basic
- Owner: Pasan-Pahasara
- License: mit
- Created: 2022-07-27T08:32:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T11:22:37.000Z (over 2 years ago)
- Last Synced: 2023-03-10T01:22:26.533Z (almost 2 years ago)
- Topics: java, socket-programming
- Language: Java
- Homepage:
- Size: 19.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Socket-Programming-Basic
Here, we are going to make one-way `client` and `server` communication. In this application, `client` sends a message to the `server`, `server` reads the message and prints it. Here, two classes are being used: Socket and ServerSocket.
The Socket class is used to communicate `client` and `server`. Through this class, we can read and write message. The ServerSocket class is used at `server-side`. Theaccept()
method of ServerSocket class blocks the console until the `client` is connected. After the successful connection of `client`, it returns the instance of Socket at `server-side`.### `Stocket-Programming`
* Java
* Stocket-Programming##
![socket-programming](https://user-images.githubusercontent.com/88943660/182590770-b607372e-68fb-436c-aecb-ed2653811c7e.png)##
`* Simple Chat Application with UI`
##
![Screenshot 2022-08-03 165028](https://user-images.githubusercontent.com/88943660/182595918-c7c84d4f-14a0-4165-80f3-ca8aec6787b1.jpg)##
#### Clone this repository ✅
```md
https://github.com/Pasan-Pahasara/Socket-Programming-Basic.git
```
###
###### If you think my code is good pleace drop a Star![GitHub issues](https://img.shields.io/github/issues/Pasan-Pahasara/Socket-Programming-Basic?&labelColor=black&color=eb3b5a&label=Issues&logo=issues&logoColor=black&style=for-the-badge)
![GitHub Contributions](https://img.shields.io/github/contributors/Pasan-Pahasara/Socket-Programming-Basic?&labelColor=black&color=8854d0&style=for-the-badge)### License 📝
[![GitHub license](https://img.shields.io/github/license/Pasan-Pahasara/Socket-Programming-Basic?&labelColor=black&color=3867d6&style=for-the-badge)](https://github.com/Pasan-Pahasara/Room-Reservation-System/blob/master/LICENSE)![repo size](https://img.shields.io/github/repo-size/Pasan-Pahasara/Socket-Programming-Basic?label=Repo%20Size&style=for-the-badge&labelColor=black&color=20bf6b)
![GitHub forks](https://img.shields.io/github/forks/Pasan-Pahasara/Socket-Programming-Basic?&labelColor=black&color=0fb9b1&style=for-the-badge)
![GitHub stars](https://img.shields.io/github/stars/Pasan-Pahasara/Socket-Programming-Basic?&labelColor=black&color=f7b731&style=for-the-badge)
![GitHub LastCommit](https://img.shields.io/github/last-commit/Pasan-Pahasara/Socket-Programming-Basic?logo=github&labelColor=black&color=d1d8e0&style=for-the-badge)
#### Developed by [Pasan Pahasara](https://github.com/Pasan-Pahasara/)