network-multicast 0.0.12 → 0.1.0
raw patch · 2 files changed
+4/−3 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 +2/−1
network-multicast.cabal view
@@ -1,6 +1,6 @@ name: network-multicast-version: 0.0.12-copyright: 2008-2014 Audrey Tang+version: 0.1.0+copyright: 2008-2015 Audrey Tang license: PublicDomain license-file: LICENSE author: Audrey Tang <audreyt@audreyt.org>
src/Network/Multicast.hsc view
@@ -88,8 +88,9 @@ #endif setup :: Socket -> IO Socket setup sock = do- bindSocket sock $ SockAddrInet port iNADDR_ANY+ (addrInfo:_) <- getAddrInfo Nothing (Just host) (Just $ show port) addMembership sock host Nothing+ bindSocket sock $ addrAddress addrInfo return sock doSetSocketOption :: Storable a => CInt -> Socket -> a -> IO CInt