Artifact 1efa1a53f7f1b2a2761ec6bdf214f06e8701f08c:
- File find_free_port.mkd — part of check-in [7a641a0a0e] at 2017-01-14 15:33:34 on branch trunk — Don't try to start spice client if DISPLAY env var doesn't present (user: vitus, size: 554) [annotate] [blame] [check-ins using]
% find_free_port(1) % Victor Wagner vitus@wagner.pp.ru % December 2015
NAME
find_free_port - find unused port to bind to
SYNOPSIS
find_free_port start_port
DESCRIPTION
find_free_port searches local system for unused TCP port where application program can listen for request. Starts with specified number.
It is written as helper utility for vws(1) to search for unused port where virtual machine can listen for GUI clients.
SEE ALSO
vws(1), socket(2), bind(2), listen(2)