{"id":21530785,"url":"https://github.com/bk138/multicast-client-server-example","last_synced_at":"2025-08-10T06:42:52.190Z","repository":{"id":776621,"uuid":"465290","full_name":"bk138/Multicast-Client-Server-Example","owner":"bk138","description":"This is a simple educational example of an IPv4/IPv6 multicast client and server, running under UNIX and Win32.","archived":false,"fork":false,"pushed_at":"2023-04-30T06:44:01.000Z","size":58,"stargazers_count":59,"open_issues_count":0,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-10T00:13:42.323Z","etag":null,"topics":["cross-platform","example","linux","macos","multicast","windows","windows-ce"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bk138.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null},"funding":{"liberapay":"bk138","patreon":"bk138"}},"created_at":"2010-01-09T17:24:38.000Z","updated_at":"2025-01-16T02:32:00.000Z","dependencies_parsed_at":"2023-07-05T15:17:14.074Z","dependency_job_id":null,"html_url":"https://github.com/bk138/Multicast-Client-Server-Example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bk138/Multicast-Client-Server-Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bk138%2FMulticast-Client-Server-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bk138%2FMulticast-Client-Server-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bk138%2FMulticast-Client-Server-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bk138%2FMulticast-Client-Server-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bk138","download_url":"https://codeload.github.com/bk138/Multicast-Client-Server-Example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bk138%2FMulticast-Client-Server-Example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269688006,"owners_count":24459396,"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-08-10T02:00:08.965Z","response_time":71,"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":["cross-platform","example","linux","macos","multicast","windows","windows-ce"],"created_at":"2024-11-24T02:10:16.330Z","updated_at":"2025-08-10T06:42:52.144Z","avatar_url":"https://github.com/bk138.png","language":"C","readme":"[![CI](https://github.com/bk138/Multicast-Client-Server-Example/actions/workflows/ci.yml/badge.svg)](https://github.com/bk138/Multicast-Client-Server-Example/actions/workflows/ci.yml)\n[![Help making this possible](https://img.shields.io/badge/liberapay-donate-yellow.png)](https://liberapay.com/bk138/donate)\n[![Become a patron](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://www.patreon.com/bk138)\n\nThis is a simple educational example of a multicast \nclient and server, running under UNIX and Win32.\n\n# Building\nTo compile, use\n\n    mkdir build\n    cd build\n    cmake ..\n    cmake --build .\n\n## Crosscompiling from Unix to Android\n\nSee https://developer.android.com/ndk/guides/cmake.html as a reference, but\nbasically it boils down to adding `-DANDROID_NDK=\u003cpath\u003e -DCMAKE_TOOLCHAIN_FILE=\u003cpath\u003e -DANDROID_NATIVE_API_LEVEL=\u003cAPI level you want\u003e`\nto the `cmake ..` step above.\n\n\n# Troubleshooting\n\nIf there is no data coming through when client and server are on different\nmachines, the reason can be that IP routing is configured in a way that routes\nmulticast traffic to or expects multicast traffic from an interface the other\nmachine is not connected to (the sample programs in this repo do not use the\n`IP_MULTICAST_IF` setsockopt() call yet as it's not cross-platform).\nIn this case, you have to add a static route to the client and/or server machine's\nrouting table indicating the interface for multicast traffic. The internet has\nlots of examples.\n","funding_links":["https://liberapay.com/bk138","https://patreon.com/bk138","https://liberapay.com/bk138/donate","https://www.patreon.com/bk138"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbk138%2Fmulticast-client-server-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbk138%2Fmulticast-client-server-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbk138%2Fmulticast-client-server-example/lists"}