You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

networking-udp-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

networking-udp-client

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

0.3
PyPI
Maintainers
1

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)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts