Metadata-Version: 2.1
Name: protofcp
Version: 0.0.4
Summary: FCP is a protocol used to route on "channels" and send or receive data.
Home-page: https://github.com/ANDRVV/FCP
Author: Andrea Vaccaro
License: Apache 2.0
Keywords: python,socket,protocol,proto,channel,scapy,packet
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
License-File: LICENSE


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

```python

import protofcp



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

while True:

    msg = input("> ")

    sock.send(msg.encode())

```



## Receive message in channel 1:

```python

import protofcp



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

msg = sock.recv()

print(msg)

```



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



Copyright 2023 Andrea Vaccaro



Apache License 2.0
