{"id":15010911,"url":"https://github.com/haskell/network","last_synced_at":"2025-05-14T05:10:36.602Z","repository":{"id":1147226,"uuid":"1030046","full_name":"haskell/network","owner":"haskell","description":"Low-level networking interface","archived":false,"fork":false,"pushed_at":"2025-01-28T04:28:58.000Z","size":2034,"stargazers_count":339,"open_issues_count":30,"forks_count":189,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-05-08T16:48:47.471Z","etag":null,"topics":["haskell","network","socket"],"latest_commit_sha":null,"homepage":"http://hackage.haskell.org/package/network","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haskell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-10-27T21:37:32.000Z","updated_at":"2025-05-06T02:16:37.000Z","dependencies_parsed_at":"2023-07-05T17:15:23.290Z","dependency_job_id":"ed75ab0b-7899-4da9-9357-a2d801263b70","html_url":"https://github.com/haskell/network","commit_stats":{"total_commits":1428,"total_committers":137,"mean_commits":"10.423357664233576","dds":0.6176470588235294,"last_synced_commit":"74c8e5155b434a19339907341756b13064f3451a"},"previous_names":[],"tags_count":119,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fnetwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fnetwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fnetwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fnetwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haskell","download_url":"https://codeload.github.com/haskell/network/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076849,"owners_count":22010611,"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":["haskell","network","socket"],"created_at":"2024-09-24T19:37:08.656Z","updated_at":"2025-05-14T05:10:36.577Z","avatar_url":"https://github.com/haskell.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub Actions status](https://github.com/haskell/network/workflows/Haskell%20CI/badge.svg)\n# [`network`](http://hackage.haskell.org/package/network)\n\nTo build this package directly from git, you must run `autoreconf -i`.\nAnd then use `cabal configure; cabal build` or `stack build`.\n\n## Support Policy\n\n### GHC\n\nThe `network` package support [3 major versions of GHC](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/intro.html#ghc-version-numbering-policy) only.\nThis means that the current stable version and two previous stable versions are supported.\n\n### Windows\n\nWe use MSYS to build this package on Windows.\nTo use the `network` package on Cygwin, use `stack`.\n\n## Coding\n\n### .hs files\n\nIf you need C macros created by \"configure\" or `CALLCONV`/`SAFE_ON_WIN`, put\n\n```\n#include \"HsNetDef.h\"\n```\n\n\"HsNet.h\" does now work well since Mac's cpp sucks.\n\n### .hsc files\n\nIf you need `#peek`, `#poke` and others, create a `.hsc` file with\n\n```\n#include \"HsNet.h\"\n```\n\n`HsNet.h` includes `HsNefDef.h` and necessary C structures.\nUnfortunately, `hsc2hs` does not convert C macros.\nSo, if you use `CALLCONV`/`SAFE_ON_WIN`, the following is also necessary:\n\n```\n##include \"HsNetDef.h\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaskell%2Fnetwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaskell%2Fnetwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaskell%2Fnetwork/lists"}