BSD Ports

net/tcping 2.1.0 DragonFly

Do a TCP connect to the given IP/port combination

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
net
Package size
6.1 KiB, 12.9 KiB installed

Description

tcping does a TCP connect to the given ip/port combination. The user can specify a timeout in seconds. This is useful in shell scripts running in firewalled environments. Often SYNs are just being dropped by firewalls, thus connection establishment will be retried several times (for minutes) until a TCP timeout is reached. With tcping it is possible to check first if the desired port is reachable and then start connection establishment.

In the other systems

SystemPortVersion
DragonFlynet/tcping2.1.0
FreeBSDnet/tcping2.1.0

Install

Binary package:

pkg install tcping

From DPorts:

cd /usr/dports/net/tcping && make install clean

Dependencies

No port depends on this one.