mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #549] [MERGED] Fixed bug with -udp address #1383
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?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/549
Author: @Izaron
Created: 12/17/2016
Status: ✅ Merged
Merged: 12/22/2016
Merged by: @cfsmp3
Base:
master← Head:udp-fix📝 Commits (1)
05513d7Fixed bug with -udp address📊 Changes
1 file changed (+1 additions, -6 deletions)
View changed files
📝
src/lib_ccx/networking.c(+1 -6)📄 Description
Last PR #547
Issue
I read something in the Internet about multicasting, unicasting, sockets in C, sample programs.
It's strange, but it seems that in the code simply mixed up the lines.
Tons of materials say that we should use
INADDR_ANYin multicasts, andaddrin unicasts, but the code is upside down, so if we give multicast address, it will works as unicast, and vice versa.I fixed it and checked in Windows - works good, this part does not depend on the platform.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.