Skip to main content

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

Project description

udp_client

Python UDP Client

How to use

Connecting to server

import udp_client as udp
socket = udp.open()

Sending packet

udp.send("Hello Server!", '127.0.0.1', 7777, socket)

Receiving Packets

msg, source_address, source_port = udp.receive(socket)

Closing connection

udp.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_udp_client-0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (14.3 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