tcp - How to send a request by a private protocol with Python -


i want send request server private protocol based on tcp (not http), how can send request using python?

python sockets looking for. take @ python socket class @ https://docs.python.org/2/library/socket.html

this site includes examples of how set server , client , provides basic example of fundamental tcp communication using python. if need more control may want @ scapy: http://www.secdev.org/projects/scapy/

scapy python implementation provides framework control aspects network communication way down layer 2 (ethernet frame).


Comments