getpeername

Utilities for TCP programming in shell-scripts

Install

All systems
curl cmd.cat/getpeername.sh
Debian Debian
apt-get install tcputils
Ubuntu
apt-get install tcputils
image/svg+xml Kali Linux
apt-get install tcputils
Fedora
dnf install tcputils
Windows (WSL2)
sudo apt-get update sudo apt-get install tcputils
Raspbian
apt-get install tcputils

tcputils

Utilities for TCP programming in shell-scripts

This is a collection of programs to facilitate TCP programming in shell-scripts. There is also a small library which makes it somewhat easier to create TCP/IP sockets. The programs included in this release are: mini-inetd - small TCP/IP connection dispatcher tcpbug - TCP/IP connection bugging device tcpconnect - general TCP/IP client tcplisten - general TCP/IP server getpeername - get name of connected TCP/IP peer