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 details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

File details

Details for the file networking_tcp_client-0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for networking_tcp_client-0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2d8fad5413d402290157ebb4fe85f5ced643e2c3e2084d5519350b98ffbf4b86
MD5 8a8b60115f55762291b4b8d9a4d99217
BLAKE2b-256 ee99bd623d574c02909fc592bc6307c7245c83e0dee93b80cd99b22a5ff086b7

See more details on using hashes here.

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