Skip to main content

A simple way for TCP and UDP communication.

Project description

cj7

A simple way to send TCP and UDP packets in Python without the need for sockets.

Examples

Sending packets in UDP sendPacketUDP(ip, port, data, showSent)

Put the target IP as the first variable, the target port as the second, the data to be sent in the third and either True or False in the last variable for whether or not to print a message when the packet has been sent.

Sending packets in TCP sendPacketTCP(ip, port, data, showSent)

Put the target IP as the first variable, the target port as the second, the data to be sent in the third and either True or False in the last variable for whether or not to print a message when the packet has b een sent.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cj7-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

cj7-0.0.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page