network-transport-tests-0.3.0: Unit tests for Network.Transport implementations

Safe HaskellNone
LanguageHaskell2010

Network.Transport.Tests.Multicast

Synopsis

Documentation

noConfusionNode Source #

Arguments

:: Transport

Transport

-> [MVar MulticastAddress]

my group : groups to subscribe to

-> [MVar ()]

I'm ready : others ready

-> Int

number of pings

-> [ByteString]

my message : messages from subscribed groups (same order as 'groups to subscribe to')

-> MVar ()

I'm done

-> IO () 

Node for the "No confusion" test

testNoConfusion :: Transport -> Int -> IO () Source #

Test that distinct multicast groups are not confused

testMulticast :: Transport -> IO () Source #

Test multicast