Commit 8a7a77f6 authored by Yoann Pigné's avatar Yoann Pigné

first commit

parents
File added
import socket
import struct
CMD_DEL_EDGE=0x13
HOST = 'localhost'
PORT = 2001
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
mid="ab"
msg= struct.pack("!Bh", 255, len(mid))+mid
s.send(msg)
s.close()
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