GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bk138/Multicast-Client-Server-Example: This is a simple educational example of an IPv4/IPv6 multicast client and server, running under UNIX and Win32.

BranchesTags
Open more actions menu

Latest commit

 

History

61 Commits
61 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
src
src
 
 
AUTHORS
AUTHORS
 
 
CMakeLists.txt
CMakeLists.txt
 
 
COPYING
COPYING
 
 
README.md
README.md
 
 

Repository files navigation

CI Help making this possible Become a patron

This is a simple educational example of a multicast client and server, running under UNIX and Win32.

Building

To compile, use

mkdir build
cd build
cmake ..
cmake --build .

Crosscompiling from Unix to Android

See https://developer.android.com/ndk/guides/cmake.html as a reference, but basically it boils down to adding -DANDROID_NDK=<path> -DCMAKE_TOOLCHAIN_FILE=<path> -DANDROID_NATIVE_API_LEVEL=<API level you want> to the cmake .. step above.

Troubleshooting

If there is no data coming through when client and server are on different machines, the reason can be that IP routing is configured in a way that routes multicast traffic to or expects multicast traffic from an interface the other machine is not connected to (the sample programs in this repo do not use the IP_MULTICAST_IF setsockopt() call yet as it's not cross-platform). In this case, you have to add a static route to the client and/or server machine's routing table indicating the interface for multicast traffic. The internet has lots of examples.

About

This is a simple educational example of an IPv4/IPv6 multicast client and server, running under UNIX and Win32.

Topics

cross-platformexamplelinuxmacosmulticastwindowswindows-ce

Resources

Readme
GPL-2.0 license
Activity

Stars

60 stars

Watchers

5 watching

Forks

25 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.