Skip to content

Instantly share code, notes, and snippets.

View Sando1's full-sized avatar
🎯
Focusing

Sakina Fakhruddin Sando1

🎯
Focusing
View GitHub Profile
@Sando1
Sando1 / connection.py
Created November 15, 2018 08:04
Assumes this class will be instantiated from the main loop upon incoming connections
import queue
import struct
import asyncio
import dill
import settings as s
import services as sr
CREATE, UPDATE, FS, FILE, QUIT, ERROR, SUCCESS, INVALID = range(8)