mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
Windows and multicast #266
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cfsmp3 on GitHub (Jan 25, 2017).
Originally assigned to: @Izaron on GitHub.
We're hitting exactly this problem:
http://stackoverflow.com/questions/6140734/cannot-bind-to-multicast-address-windows
Suppose this real scenario: We have a number of multicast streams. They are in different addresses, for example
239.168.100.1:5000
239.168.100.2:5000
This means that we cannot just bind to any interface (0.0.0.0) on port 5000, because then we get things mixed up.
The obvious solution is to bind to the complete IP+port. In linux this works fine, but Windows says "IP address not available", i.e. you cannot bind the socket to the multicast IP address.
For now (because I needed to get it working) I've done the following:
Which solves the problem in linux and leaves Windows behaving as before.
It's definitely not the right solution.
http://stackoverflow.com/questions/10692956/what-does-it-mean-to-bind-a-multicast-udp-socket
I'm assigning this to @Izaron since he did the last network changes if I recall correctly.
@cfsmp3 commented on GitHub (Jan 25, 2017):
GSoC: This issue gives 2 qualification points.