Tcl Library Source Code

EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA

[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]


nettool - Tools for networked applications

Table Of Contents


package require Tcl 8.5 9
package require nettool ?0.5.3?
package require twapi 3.1
package require ip 0.2
package require platform 0.2

::cat filename
::nettool::allocate_port startingport
::nettool::claim_port port ?protocol?
::nettool::cpuinfo args
::nettool::find_port startingport
::nettool::port_busy port
::nettool::release_port port ?protocol?
::nettool::user_data_root appname


The nettool package consists of a Pure-tcl set of tools to perform common network functions that would normally require different packages or calls to exec, in a standard Tcl interface. At present nettool has reference implementations for the following operating systems: Windows, MacOSX, and Linux (debian).


Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category odie of the Tcllib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.


nettool, odie




Copyright © 2015-2018 Sean Woods