{"id":20934540,"url":"https://github.com/thisisgame/lsocket","last_synced_at":"2026-04-26T19:32:23.469Z","repository":{"id":106841783,"uuid":"85331202","full_name":"ThisisGame/lsocket","owner":"ThisisGame","description":"lsocket is socket support for lua.","archived":false,"fork":false,"pushed_at":"2017-03-17T19:25:28.000Z","size":679,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-26T07:52:53.042Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThisisGame.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":"2017-03-17T16:12:37.000Z","updated_at":"2017-09-14T10:36:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"d33f25ee-3ce9-46a3-a7ee-262466298f55","html_url":"https://github.com/ThisisGame/lsocket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThisisGame/lsocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2Flsocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2Flsocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2Flsocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2Flsocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThisisGame","download_url":"https://codeload.github.com/ThisisGame/lsocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisisGame%2Flsocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32310804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"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-18T22:09:42.875Z","updated_at":"2026-04-26T19:32:23.450Z","avatar_url":"https://github.com/ThisisGame.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lsocket\nlsocket is socket support for lua. homepage:http://tset.de/lui/index.html\n\n# build\n\nbuild lua\n```\ncd lua\nmake linux\n```\n\n\ncopy lua to samples\n```\ncp lua ../lsocket-1.4.1-1/samples\n```\n\nbuild lsocket\n```\ncd lsocket-1.4.1-1\nmake\n```\ncopy lsocket.so to samples\n\n```\ncp lsocket.so ./samples\n```\n\n# example\n\n- use httpclient.lua to download webpage\n```\n./lua httpclient.lua http://www.baidu.com\n```\n![image](https://github.com/ThisisGame/lsocket/blob/master/lsocket-1.4.1-1/doc/httpclient.png)\n\n\n- run httpserver.lua as httpserver\n```\n ./lua httpserver.lua\n ```\n \n![image](https://github.com/ThisisGame/lsocket/blob/master/lsocket-1.4.1-1/doc/httpserver-server.png)\n![image](https://github.com/ThisisGame/lsocket/blob/master/lsocket-1.4.1-1/doc/httpserver-client.png)\n\n- use testclt_tcp.lua \u0026 testsrv_tcp.lua test tcp socket\n```\n./lua testsrv_tcp.lua\n./lua testclt_tcp.lua\n```\n![image](https://github.com/ThisisGame/lsocket/blob/master/lsocket-1.4.1-1/doc/testtcp.png)\n\n\n- use testclt_udp.lua \u0026 testsrv_udp.lua test udp socket\n```\n./lua testsrv_udp.lua\n./lua testclt_udp.lua\n```\n![image](https://github.com/ThisisGame/lsocket/blob/master/lsocket-1.4.1-1/doc/testudp.png)\n\n\n- use loginserver.lua\u0026loginclient.lua test login\n\n```\n./lua loginserver.lua\n./lua loginclient.lua\n```\n\n![image](https://github.com/ThisisGame/lsocket/blob/master/lsocket-1.4.1-1/doc/logintest.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisgame%2Flsocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisisgame%2Flsocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisgame%2Flsocket/lists"}