Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

firatkucuk/binder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

binder

Binds two incomming connection and provides message transfer between them.

Example command:

binder.py 1560 60000

The architecture may be like this for the above command:

                      B I N D E R
                     -------------
                     | INT |  E  |                 ------------
    -------> (60000) | SRV |  X  | (1560) <------- | DEVICE 1 |
                     |     |  T  |                 ------------
                     |-----|  E  |
                     | INT |  R  |                 ------------
    -------> (60001) | SRV |  N  | (1560) <------- | DEVICE 2 |
                     |     |  A  |                 ------------
                     |-----|  L  |
                     | INT |     |                 ------------
    -------> (60002) | SRV |  S  | (1560) <------- | DEVICE 3 |
                     |     |  E  |                 ------------
                     |-----|  R  |
                     | INT |  V  |                 ------------
    -------> (60003) | SRV |  E  | (1560) <------- | DEVICE 4 |
                     |     |  R  |                 ------------
                     -------------

Binder creates 1 external server that listens specific port for device connections. For every device connection it creates a new internal server starting with port 60000. After this. it transfers messages between matched internal and external connections.

About

Binds two incomming connection and provides message transfer between them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages