netTest

Connection Test for Nim Web Applications

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-22 05:28

Installation

nimble install netTest
choosenim install netTest
git clone https://github.com/blmvxer/netTest

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
netTest - - - - - - -

Source

Repository https://github.com/blmvxer/netTest
Homepage https://github.com/blmvxer/netTest
Registry Source nimble_official

README

netTest

Basic Internet Test for Nim Web Projects

How to use
copy netTest.nim to the projects src folder
import netTest into which ever file will test the connection

after importing you can use testConn("service", timeout)
service being either google or cloudflare and timeout in miliseconds

Basic usage
import netTest
echo("Testing google")
testConn(google, port, 2000)

Output: @[true, true] or @[false, false]

testConn proc's
testConn([cloudflare, google], port, timeout)
output: @[bool, bool]

testConn("server", port, timeout)
output: bool

testConn(@["server0", "server1", "server2"], port, timeout)
output: @[bool, bool, bool]