packages feed

network-multicast 0.0.6 → 0.0.7

raw patch · 3 files changed

+13/−21 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

LICENSE view
@@ -1,18 +1,6 @@-Copyright 2008 by Audrey Tang+To the extent possible under law, 唐鳳 has waived all copyright and+related or neighboring rights to network-multicast. -Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to-deal in the Software without restriction, including without limitation the-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or-sell copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:-  -The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.-   -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL-THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.+This work is published from Taiwan.++<http://creativecommons.org/publicdomain/zero/1.0>
network-multicast.cabal view
@@ -1,6 +1,6 @@ name:               network-multicast-version:            0.0.6-copyright:          2008-2010 Audrey Tang+version:            0.0.7+copyright:          2008-2012 Audrey Tang license:            PublicDomain license-file:       LICENSE author:             Audrey Tang <audreyt@audreyt.org>@@ -11,7 +11,7 @@ stability:          experimental build-type:         Simple category:           Network-cabal-version:      >= 1.2+cabal-version:      >= 1.6 extra-source-files: examples/sender.hs examples/receiver.hs  library@@ -21,3 +21,7 @@     hs-source-dirs:     src     if os(win32)         extra-libraries: ws2_32++source-repository head+  type:     git+  location: http://github.com/audreyt/network-multicast
src/Network/Multicast.hsc view
@@ -53,9 +53,9 @@ -- multicastSender :: HostName -> PortNumber -> IO (Socket, SockAddr) multicastSender host port = do+    addr  <- fmap (SockAddrInet port) (inet_addr host)     proto <- getProtocolNumber "udp"     sock  <- socket AF_INET Datagram proto-    addr  <- fmap (SockAddrInet port) (inet_addr host)     return (sock, addr)  -- | Calling 'multicastReceiver' creates and binds a UDP socket for listening