Git Product home page Git Product logo

asynchronous_message_server's Introduction


CSE 5306 

Lab # 1 Summer โ€“ 2019
Asynchronous Message Server


IDE Used - Sublime Text Editor

How to Run ?

On cmd type cd "respective folder where the files have been stored"

First run the Server socket on cmd.  
Command : python socket_server.py --> Server will connect to the localhost.( Which shows server Process
works correctly)

Now open another cmd and run 
Command: python socket_client.py --> GUI will ask for the USERNAME, After entering username client will be 
connected with the same name.( Which shows Client Process works correctly)
														
On the GUI,
Entry : Destination Client = Username(Either A, B or C)
        
Entry : Message : Message to be sent 

On the server GUI, you will observe the following:

From 1to1 the display will be 'From' with the sender's username.
You can see the unparsed HTTP message received from a client to the screen.
After the message has been successfully sent to the server, then
disconnecting from the server.

The GUI also provides a button called 'Quit' to kill the process.



References:
#socket connection reference : https://www.journaldev.com/15906/python-socket-programming-server-client
#https://github.com/YashAvlani009/Sockets-and-Thread-Management
#https://www.geeksforgeeks.org/socket-programming-multi-threading-python/
 

asynchronous_message_server's People

Contributors

vishustle avatar

Watchers

 avatar

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.