{"id":21062564,"url":"https://github.com/paragon279/tcp-socket","last_synced_at":"2026-04-23T12:31:42.476Z","repository":{"id":204979584,"uuid":"713113210","full_name":"paragon279/tcp-socket","owner":"paragon279","description":"tcp socket communication sample c++","archived":false,"fork":false,"pushed_at":"2023-11-01T21:42:36.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T01:14:32.377Z","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/paragon279.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2023-11-01T21:35:10.000Z","updated_at":"2025-01-24T13:34:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a9a20da-c7eb-4b67-941d-c1353daf06ff","html_url":"https://github.com/paragon279/tcp-socket","commit_stats":null,"previous_names":["yinyangwarrior0928/tcp-socket","c0r2a-lab/tcp-socket","paragon279/tcp-socket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paragon279/tcp-socket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragon279%2Ftcp-socket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragon279%2Ftcp-socket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragon279%2Ftcp-socket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragon279%2Ftcp-socket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paragon279","download_url":"https://codeload.github.com/paragon279/tcp-socket/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragon279%2Ftcp-socket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32181365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T11:42:27.955Z","status":"ssl_error","status_checked_at":"2026-04-23T11:42:18.877Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-19T17:39:16.039Z","updated_at":"2026-04-23T12:31:42.456Z","avatar_url":"https://github.com/paragon279.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple TCP Server-Client C++ Example\n\nThis C++ example demonstrates a basic TCP server-client interaction using sockets.\n\n## Usage (Linux)\n\n### Server\n\n1. Open a terminal and navigate to the directory where your C++ source code is located (referred to as `INTO_CPP_FOLDER`).\n\n2. Compile the server code with the following command:\n   ```\n   cd INTO_CPP_FOLDER\n   g++ tcp-Server.cpp -o server\n   ```\nRun the server, specifying the port number to listen on (e.g., 8080):\n\n```\n./server 8080\n```\n### Client\nOpen another terminal and navigate to the directory where your C++ source code is located (INTO_CPP_FOLDER).\n\nCompile the client code with the following command:\n\n```\ncd INTO_CPP_FOLDER\ng++ tcp-Client.cpp -o client\n```\n\nRun the client, specifying the server's IP address (e.g., 127.0.0.1) and the same port number used by the server (e.g., 8080):\n\n```\n./client 127.0.0.1 8080\n```\n\nNote: This example is intended for local usage only. Adjust the server IP address and port as needed for your specific setup.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparagon279%2Ftcp-socket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparagon279%2Ftcp-socket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparagon279%2Ftcp-socket/lists"}