You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to catch to different multicast streams having the same port and saving its data to two separate files, both files are created but both files are having duplicate content from both streams.
The text was updated successfully, but these errors were encountered:
mikioh
changed the title
Recieving multiple Multicast UDP streams with same ports
x/net/ipv4: Recieving multiple Multicast UDP streams with same ports
Aug 21, 2016
go version:
go version go1.7 linux/amd64
go env:
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/aissa/code/go"
GORACE=""
GOROOT="/home/aissa/go"
GOTOOLDIR="/home/aissa/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build583051275=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
with referance to : https://godoc.org/golang.org/x/net/ipv4
Im trying to catch to different multicast streams having the same port and saving its data to two separate files, both files are created but both files are having duplicate content from both streams.
'netstat -tulnp' is giving the below:
udp 0 0 0.0.0.0:1234 0.0.0.0:* 24951/main
udp 0 0 0.0.0.0:1234 0.0.0.0:* 24951/main
is should be
udp 0 238.1.2.2:1234 0.0.0.0:* 24951/main
udp 0 238.1.2.1:1234 0.0.0.0:* 24951/main
the code is below:
`package main
`
The text was updated successfully, but these errors were encountered: