{"id":13575957,"url":"https://github.com/mkirchner/tcping","last_synced_at":"2025-08-18T21:17:30.891Z","repository":{"id":62423356,"uuid":"58729466","full_name":"mkirchner/tcping","owner":"mkirchner","description":"Check if a desired port is reachable via TCP","archived":false,"fork":false,"pushed_at":"2024-01-24T08:22:08.000Z","size":29,"stargazers_count":55,"open_issues_count":0,"forks_count":18,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-09T12:18:46.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkirchner.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-13T10:32:53.000Z","updated_at":"2025-03-27T02:28:29.000Z","dependencies_parsed_at":"2024-11-05T12:30:49.558Z","dependency_job_id":"32492711-5852-432c-8d20-be367533a5b2","html_url":"https://github.com/mkirchner/tcping","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"fb488396016f86b01187b2f77411457bdec864fa"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkirchner%2Ftcping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkirchner%2Ftcping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkirchner%2Ftcping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkirchner%2Ftcping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkirchner","download_url":"https://codeload.github.com/mkirchner/tcping/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254222545,"owners_count":22034897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:01:05.786Z","updated_at":"2025-05-14T20:33:29.707Z","avatar_url":"https://github.com/mkirchner.png","language":"C","funding_links":[],"categories":["Networking","C"],"sub_categories":["TOPs"],"readme":"TCPING(1)                        User Manuals                        TCPING(1)\n\n\n\nNAME\n       tcping - non-blocking TCP connection test\n\nSYNOPSIS\n       tcping [-q] [-f \u003c4|6\u003e ] [-t timeout-sec | -u timeout-usec ] host port\n\nDESCRIPTION\n       tcping attempts to complete a TCP connection to a host:port combination\n       within the time interval timeout-[u]sec.  The result of  the  operation\n       is encoded as a return value.\n\nOPTIONS\n       -q     Quiet flag. Suppress all informational output.\n\n       -f \u003c4|6\u003e\n              IP  protocol  family  to  use:  4 for IPv4, 6 for IPv6.  If left\n              unspecifed, the implementation will use the protocol  family  of\n              the first record returned from getaddrinfo(3), based on the for-\n              mat of the host parameter.  Specifying  host  as  dotted-decimal\n              IPv4 or hex IPv6 address string will use the respective protocol\n              stack. Specification as a hostname character string will cause a\n              dependency  on  the order of IPv4 and IPv6 records returned from\n              getaddrinfo(3).\n\n       -t timeout-sec\n              Connection timeout in seconds.\n\n       -u timeout-usec\n              Connection timeout in microseconds.\n\n       host   Destination host. Either a host name node name or a numeric host\n              address  string  (i.e., a dotted-decimal IPv4 address or an IPv6\n              hex address), per RFC 2553.\n\n       port   Destination port. Either a service name or a decimal  port  num-\n              ber, per RFC 2553.\n\nRETURN VALUES\n       tcping  encodes  the  result  of  the  connection attempt in its return\n       value:\n\n       0      The connection attempt was successful.\n\n       1      The connection attempt was unsuccessful.\n\n       2      The connection attempt timed out.\n\n       255    An error occured.\n\nDIAGNOSTICS\n       Unless the quiet (-q) flag is set, the following diagnostics are issued\n       on  stderr.  The  messages  align  with  the  program return value (see\n       above).\n\n       \u003chost\u003e port \u003cport\u003e open.\n              The connection attempt to host:port was successful.\n       \u003chost\u003e port \u003cport\u003e closed.\n              The connection attempt to host:port  was  unsuccessful  and  the\n              server side signaled a closed port.\n       \u003chost\u003e port \u003cport\u003e user timeout.\n              The  connection attempt to host:port did not complete within the\n              user-defined timeout interval.\n\nAUTHOR\n       Marc Kirchner \u003cmail at marc-kirchner dot de\u003e\n\nHISTORY\n       tcping came to be in 2002 as a utility to allow  basic  TCP  connection\n       checking  and  to  enable  failure shortcircutry before issuing network\n       commands with long timeouts (on  Solarix  2.x,  Solaris  7/8,  AIX  and\n       Linux).  IPv6  functionality  was  added  for 2.0.0 in 2023, which also\n       dropped support for the AIX and Solaris OS.\n\nACKNOWLEDGEMENTS\n       Many thanks to Kai Hambrecht, John Smith and Vincent Loriot.\n\nSEE ALSO\n       nc(1)\n\n\n\n\nLinux                             MARCH 2023                         TCPING(1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkirchner%2Ftcping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkirchner%2Ftcping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkirchner%2Ftcping/lists"}