{"id":26536993,"url":"https://github.com/skullchap/fnet","last_synced_at":"2025-03-21T22:17:51.245Z","repository":{"id":282204237,"uuid":"946792127","full_name":"skullchap/fnet","owner":"skullchap","description":"fnet - FILE* over your socks. Easily create and handle your network sockets.","archived":false,"fork":false,"pushed_at":"2025-03-13T09:48:55.000Z","size":31,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T10:35:16.082Z","etag":null,"topics":["c","network","sockets","tcp","udp","unix"],"latest_commit_sha":null,"homepage":"","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/skullchap.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":"2025-03-11T17:21:41.000Z","updated_at":"2025-03-13T10:05:42.000Z","dependencies_parsed_at":"2025-03-13T13:45:11.420Z","dependency_job_id":null,"html_url":"https://github.com/skullchap/fnet","commit_stats":null,"previous_names":["skullchap/fnet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skullchap%2Ffnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skullchap%2Ffnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skullchap%2Ffnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skullchap%2Ffnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skullchap","download_url":"https://codeload.github.com/skullchap/fnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244875043,"owners_count":20524591,"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":["c","network","sockets","tcp","udp","unix"],"created_at":"2025-03-21T22:17:50.760Z","updated_at":"2025-03-21T22:17:51.222Z","avatar_url":"https://github.com/skullchap.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fnet - FILE* over your socks.\n\n#### Create, send and receive data over your tcp, udp and unix sockets with familiar C standard library FILE* IO interface.\n\n```c\nNetConn *c = fnetdial(\"tcp\", \"127.0.0.1:9999\");\nfprintf(fnetf(c), \"hello!\\n\");\n```\n\n#### Dial/Listen should be familiar to Plan9'ers and Gophers.\n```c\nNetConn*\tfnetdial(char *proto, char *addr);\nNetConn*\tfnetlisten(char *proto, char *addr);\nNetConn*\tfnetaccept(NetConn*);\nchar*\t\tfneterr(void);\nFILE*\t\tfnetf(NetConn*);\nchar*\t\tfnetlocaddr(NetConn*);\nchar*\t\tfnetremaddr(NetConn*);\nvoid\t\tfnetclose(NetConn*);\n```\n#### Check examples of dialing and listening.\n```bash\ncd examples/\n./compile dial \u0026\u0026 ./compile listen\n# ./listen tcp 127.0.0.1:9999 # ./dial tcp 127.0.0.1:9999\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskullchap%2Ffnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskullchap%2Ffnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskullchap%2Ffnet/lists"}