Giter Club home page Giter Club logo

ghamming's Introduction

Welcome to Ghamming ! CodeFactor

GUI Based Hamming Code app implemented using Socket Programming for Error detection at the network layer. Socket Porgramming on both server and client sides.

What makes Ghamming Special ?

  • Bitstream of any length Instead of a fixed bit stream size , this will have the ability to enter a Bit stream of any length ! How cool is that?
  • Random Error Generate With a simple function it will generate an error within the bit stream and send it to the server side to check for it.

Simple Pseduo Code

/*
Start Server and client
Client gets an input from user (bit stream)
Client generates Hamming Code
Client changes a random bit in the bit stream (Hamming Code)
Client sends the adjusted hamming code
Server receives the transmission (TCP Packet)
Server runs a verification on the received stream
Server finds any errors in the packet
Server fixes the errors and outputs users input
*/

How to run it ..

Cross Platform

  • As simple as it gets - unzip the HammingCodeGUI.zip.
  • Then run this command on Terminal ;
$ cd HammingCodeGUI
$ java -jar Server.jar
  • Open a new Terminal Winwdow while the Server Terminal is running !
$ cd HammingCodeGUI
$ java -jar Client.jar
  • If it gives you a prompt saying install JAVA SDK go ahead and install it. Else you're all set to experience it !

PS : If any of the process gives you an error;

  • Open the Eclipse project which is in a ZIP File
  • First run the Server Class
  • Then run the Client Class

Usage

  • After the server is running on the background, open the Client.jar using the above mentione commands
  • You will be prompted with a dialogue box;

Ghamming1

  • Enter the LocalHost Address for testing reasons (127.0.0.1)

Ghamming2

  • In the textbox given, enter a bit stream (1 or 0) of any length.

Ghamming2

  • A Message box will be prompted with information regarding the procedure

Ghamming2

  • Then the server will correct the error and output it.

Contact info


ghamming's People

Contributors

gayuru avatar

Stargazers

 avatar  avatar

Forkers

bondekajal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.