Commit 2491833e authored by Ismail Moumni's avatar Ismail Moumni
Browse files

Adding comments

parent 6fc8e0dd
Pipeline #1337 passed with stage
in 16 seconds
#!/usr/bin/env python3
# authors: Julien DAVID & Ismail MOUMNI
import socket
import json
......@@ -52,6 +53,9 @@ class RdosServer:
conn.close()
# Function query_client creates an insert query to send to server
# Function takes 2 parameters addr : IP address of client and data : Generators values
# Function return a valid insert query
def query_client(addr, data):
__RDOS_Tool__ = db.li_gen()
sa = __RDOS_Tool__.get(list(data.keys())[0])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment