Skip to main content

Advanced bi-directional over TCP and UDP protocol

Project description

ABOTP is a Python package that provides a TCP and UDP double-socket protocol for bi-directional communication between clients and servers. It allows sending and receiving byte data over TCP and UDP connections.

Features

  • Supports both TCP and UDP communication protocols.

  • Provides a server-side implementation (Server) for accepting client connections and handling data transmission.

  • Offers a client-side implementation (Client) for connecting to a server and exchanging data.

  • Supports sending and receiving lists of byte objects (bytes) as data payloads.

  • Provides error handling for socket-related exceptions and connection status errors.

  • Works with Python 3.10, 3.11, and 3.12.

Installation

You can install ABOTP using pip:

pip install ABOTP

Usage

To use ABOTP, import the necessary modules and classes:

from ABOTP import Server
from ABOTP import Client
from ABOTP import By

You can also use the built-in server-side operating capabilities:

from ABOTP import storage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ABOTP-2.1.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file ABOTP-2.1.1.tar.gz.

File metadata

  • Download URL: ABOTP-2.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ABOTP-2.1.1.tar.gz
Algorithm Hash digest
SHA256 8d366886a982b3ce07eff85124ae89a964f8aa59bdd57ae4f1c7699f9f53c3e3
MD5 a47a68d12e2e75cfd43d0ab704c17c03
BLAKE2b-256 4ba3e28542953f4921209d828414c8491c6e8a632f9f7e89fe52f55c74c77776

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