Socket
Socket
Sign inDemoInstall

networking-udp-client

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

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.


Maintainers
1

Readme

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc