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
Metadata
Release files for protofcp 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| protofcp-0.0.4.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| protofcp-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / protofcp-0.0.4.tar.gz
| Download URL | protofcp-0.0.4.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfc7124b40dbbb1b8931a2dbb1e84d2010b64aedf26eac3cff928f8daf16fb1a
|
|
BLAKE2b-256 checksum How to use checksums |
b9a8599cb4ecefd757f4f8ef70b710ab112bd4e77b5fe5ec953877bba6bed02b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / protofcp-0.0.4-py3-none-any.whl
| Download URL | protofcp-0.0.4-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13b4dbca0d9f97bf2370f3d78703d1d63c3a8b07d77c87ae9608a29b391ef8f7
|
|
BLAKE2b-256 checksum How to use checksums |
a41f95377f56ed038b75f3b2f6806151eff3eea004b7f24be6ae204611010dcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|