Socket
Socket
Sign inDemoInstall

networking-tcp-client

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    networking-tcp-client

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


Maintainers
1

Readme

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)

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