Skip to main content

FCP is a protocol used to route on "channels" and send or receive data.

Project description

FCP

FCP stands for Fast Channel Protocol, a protocol used to route on "channels" and send or receive data.

This protocol does not use a buffer, which is specially designed for local network addresses for a camera/audio device connection.

This protocol has much the same function as radio frequencies, unlimited clients can send/receive information without physical addresses.

How to install:

pip install protofcp

Send message in channel 1:

import protofcp



sock = protofcp.FCPSocket(protofcp.Channels.CHANNEL_01)

while True:

    msg = input("> ")

    sock.send(msg.encode())

Receive message in channel 1:

import protofcp



sock = protofcp.FCPSocket(protofcp.Channels.CHANNEL_01)

msg = sock.recv()

print(msg)

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

Copyright 2023 Andrea Vaccaro

Apache License 2.0

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

protofcp-0.0.2.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

protofcp-0.0.2-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

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