network-multicast 0.1.0 → 0.1.1
raw patch · 2 files changed
+3/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- network-multicast.cabal +2/−2
- src/Network/Multicast.hsc +1/−2
network-multicast.cabal view
@@ -1,6 +1,6 @@ name: network-multicast-version: 0.1.0-copyright: 2008-2015 Audrey Tang+version: 0.1.1+copyright: 2008-2016 Audrey Tang license: PublicDomain license-file: LICENSE author: Audrey Tang <audreyt@audreyt.org>
src/Network/Multicast.hsc view
@@ -88,9 +88,8 @@ #endif setup :: Socket -> IO Socket setup sock = do- (addrInfo:_) <- getAddrInfo Nothing (Just host) (Just $ show port)+ bindSocket sock $ SockAddrInet port iNADDR_ANY addMembership sock host Nothing- bindSocket sock $ addrAddress addrInfo return sock doSetSocketOption :: Storable a => CInt -> Socket -> a -> IO CInt