https://github.com/snithish/java-socket-example
This repo contains a simple java socket program, the server authenticates the client using a passcode.
https://github.com/snithish/java-socket-example
Last synced: 2 months ago
JSON representation
This repo contains a simple java socket program, the server authenticates the client using a passcode.
- Host: GitHub
- URL: https://github.com/snithish/java-socket-example
- Owner: snithish
- License: mit
- Created: 2014-07-13T06:01:50.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-14T13:37:50.000Z (almost 12 years ago)
- Last Synced: 2025-12-26T01:40:22.214Z (6 months ago)
- Language: Java
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Java-Socket-Example
===================
This repo contains a simple java socket program, the server authenticates the client using a passcode.
The class files are present in build/
The .java files are present in src/
Usage: This is a simple Authentication.
The port number can be specified as a command line arguement, the deafult port number is: 2500
The password for accessing the server is also given as an command line argument. Default is: "blu3b0lt"
This server then listens to on the port number and compares the passCode with that obtained from client.
If they match access is granted.
java Server portNumber passCode