Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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`. The accept() 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)


If you have any questions or just wanna say hi,
MAIL ME 






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