{"id":19984820,"url":"https://github.com/ia/connect","last_synced_at":"2025-10-06T15:56:59.661Z","repository":{"id":4104706,"uuid":"5213924","full_name":"ia/connect","owner":"ia","description":"tiny cross-platform socket API library","archived":false,"fork":false,"pushed_at":"2024-10-15T17:29:44.000Z","size":356,"stargazers_count":51,"open_issues_count":2,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-03T10:57:58.776Z","etag":null,"topics":["api","bpf","c","epoll","libc","linux","ndis","netlink","network-programming","pcap","raw-sockets","sockets","winsock"],"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/ia.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":"2012-07-28T11:20:54.000Z","updated_at":"2025-09-22T07:01:58.000Z","dependencies_parsed_at":"2024-07-25T13:41:28.870Z","dependency_job_id":"ac5b1d11-550c-470c-83eb-1f36401fa2f3","html_url":"https://github.com/ia/connect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ia/connect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ia%2Fconnect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ia%2Fconnect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ia%2Fconnect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ia%2Fconnect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ia","download_url":"https://codeload.github.com/ia/connect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ia%2Fconnect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278638090,"owners_count":26019943,"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-10-06T02:00:05.630Z","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":["api","bpf","c","epoll","libc","linux","ndis","netlink","network-programming","pcap","raw-sockets","sockets","winsock"],"created_at":"2024-11-13T04:20:39.997Z","updated_at":"2025-10-06T15:56:59.612Z","avatar_url":"https://github.com/ia.png","language":"C","readme":"\n\n# connect - tiny cross-platform library for sockets routine\n\n\n##  Content\n\n\tREADME   -  this file  \n\tdocs     -  documents and links  \n\tjunk     -  old legacy files  \n\tsamples  -  snippets and demo code  \n\t\tnetlink  -  GNU/Linux netlink sockets  \n\t\traw      -  raw sockets  \n\t\twinsock  -  Winsock sockets  \n\n\n##  Source library content\n\n\tconnect.gm  -  GNU Make file for build on BSD/OSX/GNU/Linux  \n\tconnect.nm  -  MS NMake file for build on Windows  \n\tsrc         -  demo code for using library  \n\tlib         -  core library tree  \n\t\troutine.*  -  routine functions  \n\t\tplatform   -  cross-platform detection routine  \n\t\tsocket     -  sockets routine  \n\t\traw        -  raw sockets routine  \n\t\tnetlink    -  netlink GNU/Linux sockets  \n\n\n## Headers tree\n\n\tlib/platform/api_bsd.h  -  header file for BSD sockets     : includes section only;  \n\tlib/platform/api_nt.h   -  header file for Winsock sockets : includes section only;  \n\t\tlib/platform/connect.h  -  detect platfrom and then includes related header; defines cross platform routine macros; includes routine header;  \n\t\t\t\tlib/routine.h  -  cross platform routine helper functions; body of header are divided by supported platforms;  \n\t\t\t\tlib/routine.c  -  includes connect.h;  \n\t\t\t\tlib/socket/tcp.h  -  TCP-related socket routine; cross platform; includes connect header;  \n\n\n## Direct header tree (legacy)\n\n\tconnect app:  \n\t  include platform/connect.h  \u003c---  (api_bsd || api_nt) \u0026\u0026 routine  \n\t  include socket/tcp.h        \u003c---  platform/connect.h  \n\t\n\tconnect app (easy way):  \n\tconnect app:  \n\t  include (lib)/connect.h  \u003c---  platform/connect.h socket/tcp.h ...  \n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fia%2Fconnect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fia%2Fconnect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fia%2Fconnect/lists"}