https://github.com/sevdanurgenc/java-socket-programming
Socket programming is a way of connecting two nodes on a network to communicate with each other.
https://github.com/sevdanurgenc/java-socket-programming
java socket-communication socket-io socket-programming
Last synced: about 2 months ago
JSON representation
Socket programming is a way of connecting two nodes on a network to communicate with each other.
- Host: GitHub
- URL: https://github.com/sevdanurgenc/java-socket-programming
- Owner: SevdanurGENC
- License: mit
- Created: 2021-08-25T20:20:53.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-25T20:33:09.000Z (almost 5 years ago)
- Last Synced: 2025-03-23T20:13:37.735Z (over 1 year ago)
- Topics: java, socket-communication, socket-io, socket-programming
- Language: Java
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java-Socket-Programming
## Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular port at an IP, while other socket reaches out to the other to form a connection. Server forms the listener socket while client reaches out to the server.

## First, the server.java file is run. The console screen shows that the server is connected.

## Then the client.java file is run. The console screen on the left shows that the client is connected. The console screen on the right belongs to the server.
## We send the string value entered by the client to the server. After the string value received by the server is converted to uppercase letters, it sends a response to the client.

## When "end" is entered, the connection with the server is interrupted.
