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

https://github.com/pineberrycode/talk-to-talk

〽️ Chat-room TCP
https://github.com/pineberrycode/talk-to-talk

chat-room java tcp

Last synced: 11 months ago
JSON representation

〽️ Chat-room TCP

Awesome Lists containing this project

README

          

# Talk-to-Talk

### Advice
If you want to communicate with other users of your LAN. Please set up this line and add your Laptop, PC, or Server IP Address.

Suppose this is your server IP Address ***192.168.100.7***:


**Server.java** file:
```JAVA
server = new ServerSocket(5000,0,InetAddress.getByName("192.168.100.7"));
```
Subsequently, all users will have to connect to that IP.


**User.java** file:
```JAVA
user = new Socket("192.168.100.7", 5000);
```
After you have completed that setup, you can now communicate with other users on your LAN.

> [!NOTE]
> Enable port of your preference with **ufw**

### Warning
While the server is turned on, you will communicate with other users, and the **user.java** will not throw an error. Please try to activate it first (Server).

### Note:

###### Credits:
[NeuralNine Channel](https://www.youtube.com/@NeuralNine)
[Video](https://www.youtube.com/watch?v=hIc_9Wbn704)
- I looked for his Github repo but I couldn't find it, hence the credit (September 01, 2023).

- I did some settings.