{"id":16203544,"url":"https://github.com/unitycoder/unity_tcp","last_synced_at":"2026-03-03T16:35:58.382Z","repository":{"id":144947092,"uuid":"214354707","full_name":"unitycoder/Unity_TCP","owner":"unitycoder","description":"async/await TCP socket implementation for Unity3d.","archived":false,"fork":false,"pushed_at":"2019-08-30T09:44:54.000Z","size":57,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T19:27:29.579Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"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/unitycoder.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-11T05:56:45.000Z","updated_at":"2025-03-17T04:02:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"6dbe6fdb-ae8c-4073-9a48-91dda003ec73","html_url":"https://github.com/unitycoder/Unity_TCP","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"b37fd17edd1273cacc4ae63ede21638239e529d8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unitycoder/Unity_TCP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unitycoder%2FUnity_TCP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unitycoder%2FUnity_TCP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unitycoder%2FUnity_TCP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unitycoder%2FUnity_TCP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unitycoder","download_url":"https://codeload.github.com/unitycoder/Unity_TCP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unitycoder%2FUnity_TCP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30051968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T15:26:47.567Z","status":"ssl_error","status_checked_at":"2026-03-03T15:26:17.132Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-10-10T09:54:26.878Z","updated_at":"2026-03-03T16:35:58.351Z","avatar_url":"https://github.com/unitycoder.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity TCP\nasync/await TCP socket implementation for Unity3d.\n\n![thumbnail](https://github.com/kodai100/Unity_TCP/blob/master/Assets/UnityTCP/Textures/thumbnail.png)\n\n# How to use\n\n## As a server\n1. Attatch `UnityTCP.cs` to arbitary GameObject\n2. Change socket type to `Server`\n3. Set port number you want to open\n4. Set some callback events\n    - `OnMessage` returns received string message\n    - `OnEstablished` called when connection is established and returns connected TcpClient\n    - `OnDisconnected` called when connection is lost and returns disconnected client's Endpoint\n\n## As a client\n1. Attatch `UnityTCP.cs` to arbitary GameObject\n2. Change socket type to `Client`\n3. Set host address and port number you want to access\n4. Set `OnMessage` callback event\n    - this will be called when a server send message to you\n\n\n# Sample\nSample scene is included in `Assets/UnityTCP/Sample.unity`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funitycoder%2Funity_tcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funitycoder%2Funity_tcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funitycoder%2Funity_tcp/lists"}