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
- Host: GitHub
- URL: https://github.com/pineberrycode/talk-to-talk
- Owner: PineberryCode
- License: unlicense
- Created: 2023-05-21T03:41:07.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2024-03-06T17:09:27.000Z (almost 2 years ago)
- Last Synced: 2024-03-06T18:53:45.283Z (almost 2 years ago)
- Topics: chat-room, java, tcp
- Language: Java
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.