find_free_port.mkd at [d7bb8aa950]
Not logged in

File find_free_port.mkd artifact 1efa1a53f7 part of check-in d7bb8aa950


% 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)