{"id":20066111,"url":"https://github.com/sean-bradley/cpptcp4sockettunnel","last_synced_at":"2025-08-22T10:04:31.543Z","repository":{"id":76145217,"uuid":"50788568","full_name":"Sean-Bradley/CPPTCP4SocketTunnel","owner":"Sean-Bradley","description":"A TCP 4 Socket Tunnel, to be used for creating multiple endpoints for a simple server or load balancing.","archived":false,"fork":false,"pushed_at":"2016-01-31T18:48:31.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T11:14:37.944Z","etag":null,"topics":["cplusplus","cpp","sockets","tunnel"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sean-Bradley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-31T18:29:14.000Z","updated_at":"2018-07-21T15:53:24.000Z","dependencies_parsed_at":"2023-04-28T09:46:56.602Z","dependency_job_id":null,"html_url":"https://github.com/Sean-Bradley/CPPTCP4SocketTunnel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sean-Bradley/CPPTCP4SocketTunnel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sean-Bradley%2FCPPTCP4SocketTunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sean-Bradley%2FCPPTCP4SocketTunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sean-Bradley%2FCPPTCP4SocketTunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sean-Bradley%2FCPPTCP4SocketTunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sean-Bradley","download_url":"https://codeload.github.com/Sean-Bradley/CPPTCP4SocketTunnel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sean-Bradley%2FCPPTCP4SocketTunnel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271620531,"owners_count":24791566,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cplusplus","cpp","sockets","tunnel"],"created_at":"2024-11-13T13:54:41.735Z","updated_at":"2025-08-22T10:04:31.476Z","avatar_url":"https://github.com/Sean-Bradley.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPPTCP4SocketTunnel\n\nA TCP 4 Socket Tunnel, to be used for creating multiple endpoints for a simple server or load balancing.\n\nIF you start a socket server using my CPPMultiThreadedLowLatencyTCPSocketServer on one ip address,\n\nand you want to hide that ip from the rest of the world, or create a load balancing solution,\n\nyou can start up a CPPTCP4Socket tunnel on another server, and expose that endpoint to your desired clients.\n\n\neg,\n                                                                        \n                                                                 / Client 1\n                                              \n                                 ---Tunnel 1 (192.168.1.2:8080) {   Client 2\n                                 \n                               /                                 \\  Client 3\n                               \n                             /\n                             \nServer (192.169.1.1:8080)  {\n                                     \n                            \\\n                            \n                             \\                                  /  Client 4\n                             \n                              ---  Tunnel 2 (192.168.1.3:8080) {   Client 5\n                              \n                                                                \\  Client 6\n                                                                \n                                                                \nHave as many tunnels as you want.\n\nUse what ever ports you want,\n\nActually, use the tunnel for what ever you want.\n\n\nTo compile on linux\n\ng++ TCP4Tunnel.cpp -pthread -std=c++11 -o SeansTCP4Tunnel\n\nto run\n\n./SeansTCP4Tunnel [local listen port] [destination ip] [destination port]\n\ntest using either the supplied tcp client in the other repository, or simply just telnet\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsean-bradley%2Fcpptcp4sockettunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsean-bradley%2Fcpptcp4sockettunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsean-bradley%2Fcpptcp4sockettunnel/lists"}