nc excels at reverse connections handling but couldn't handle multiple connections on single port/terminal. This tool offers a more convenient way to manage and switch between numerous sessions/clients using a single port and terminal. This simplifies the handling of multiple connections.
Download the latest version from the release section. For better experience, you can use rlwrap along with it
$ [rlwrap] ./tcphost <PORT>
!
!list
!2
!clear
!tty py // using python
!tty py3 // using python3
!tty perl // using perl
!close
!quit
1: CMake
$ cd tcpHostCLI_linux && mkdir build && cd build
$ cmake -DTARGET_ARCH=x86 ../ && make // for 32-bit version
$ cmake -DTARGET_ARCH=x64 ../ && make // for 64-bit version
2: Using g++
$ cd tcpHostCLI_linux && mkdir build
$ g++ -std=c++17 -pthread -I include/ -m32 src/*.cpp -o build/tcphost_x86 // for 32-bit version
$ g++ -std=c++17 -pthread -I include/ -m64 src/*.cpp -o build/tcphost_x64 // for 64-bit version
[GNU GENERAL PUBLIC LICENCE] (https://www.gnu.org/licenses/gpl-3.0.en.html)