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: 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 (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T11:22:37.000Z (almost 3 years ago)
- Last Synced: 2025-03-25T10:51:08.667Z (3 months ago)
- Topics: java, socket-programming
- Language: Java
- Homepage:
- Size: 19.5 KB
- Stars: 8
- 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##
##
`* Simple Chat Application with UI`
##
##
#### Clone this repository ✅
```md
https://github.com/Pasan-Pahasara/Socket-Programming-Basic.git
```
###
###### If you think my code is good pleace drop a Star
### License 📝
[](https://github.com/Pasan-Pahasara/Room-Reservation-System/blob/master/LICENSE)



#### Developed by [Pasan Pahasara](https://github.com/Pasan-Pahasara/)