Skip to content

achehboune36/Sockets-Tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sockets-Tests

This project holds two seperate projects, the goal is to create a server, which users can conenct to, and exchange messages in real time.

The Two projects present Here are:

Django channels

Held in every file and folder except the one named "easy" (For task difficulty).
Which uses Django channels in order to create a WebSocket which passes the received messages in real time.
[Couldn't test it well so i passed to the other task, the reason being the Websocket status jumps from 0 to 2 directly]

To test it out, do:

$ python3 -m venv env
$ source env/bin/activate
$ pip3 install django==4.0.0
$ pip3 install channels==3.0.4
$ python3 manage.py migrate
$ python3 manage.py runserver

Python sockets

This one uses Python sockets, with a server, that manages and communicates with clients, and a client side, which can be as many as we want, it helps us pick a name and directly have real time access to messages provided by other connected clients.

To test it out, just run the server and as many Clients as you want.

Folders and files

  • folder: easy: Python sockets task
  • Everything else: Django Channels task

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published