Skip to main content

Extension providing a basic tcp client for making connections, receiving and sending packets in C.

Project description

tcp_client

Python TCP Client

How to use

Connecting to server

import tcp_client as tcp
socket = tcp.connect('127.0.0.1', 7777)

Sending packet

tcp.send("Hello Server!", socket)

Receiving Packets

print(tcp.receive(socket))

Closing connection

tcp.close(socket)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

networking_tcp_client-0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (12.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

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