network 2.3.0.9 → 2.3.0.10
raw patch · 5 files changed
+23/−22 lines, 5 files
Files
- Network/BSD.hsc +15/−15
- Network/Socket.hsc +4/−4
- Network/Socket/ByteString/Lazy.hsc +2/−1
- configure.ac +1/−1
- network.cabal +1/−1
Network/BSD.hsc view
@@ -146,10 +146,10 @@ data ServiceEntry = ServiceEntry {- serviceName :: ServiceName, -- Official Name- serviceAliases :: [ServiceName], -- aliases- servicePort :: PortNumber, -- Port Number ( network byte order )- serviceProtocol :: ProtocolName -- Protocol+ serviceName :: ServiceName, -- Official Name+ serviceAliases :: [ServiceName], -- aliases+ servicePort :: PortNumber, -- Port Number ( network byte order )+ serviceProtocol :: ProtocolName -- Protocol } deriving (Show, Typeable) instance Storable ServiceEntry where@@ -249,9 +249,9 @@ data ProtocolEntry = ProtocolEntry {- protoName :: ProtocolName, -- Official Name- protoAliases :: [ProtocolName], -- aliases- protoNumber :: ProtocolNumber -- Protocol Number+ protoName :: ProtocolName, -- Official Name+ protoAliases :: [ProtocolName], -- aliases+ protoNumber :: ProtocolNumber -- Protocol Number } deriving (Read, Show, Typeable) instance Storable ProtocolEntry where@@ -336,10 +336,10 @@ data HostEntry = HostEntry {- hostName :: HostName, -- Official Name- hostAliases :: [HostName], -- aliases- hostFamily :: Family, -- Host Type (currently AF_INET)- hostAddresses :: [HostAddress] -- Set of Network Addresses (in network byte order)+ hostName :: HostName, -- Official Name+ hostAliases :: [HostName], -- aliases+ hostFamily :: Family, -- Host Type (currently AF_INET)+ hostAddresses :: [HostAddress] -- Set of Network Addresses (in network byte order) } deriving (Read, Show, Typeable) instance Storable HostEntry where@@ -443,10 +443,10 @@ data NetworkEntry = NetworkEntry {- networkName :: NetworkName, -- official name- networkAliases :: [NetworkName], -- aliases- networkFamily :: Family, -- type- networkAddress :: NetworkAddr+ networkName :: NetworkName, -- official name+ networkAliases :: [NetworkName], -- aliases+ networkFamily :: Family, -- type+ networkAddress :: NetworkAddr } deriving (Read, Show, Typeable) instance Storable NetworkEntry where
Network/Socket.hsc view
@@ -280,7 +280,7 @@ | Listening -- listen | Connected -- connect/accept | ConvertedToHandle -- is now a Handle, don't touch- | Closed -- sClose + | Closed -- sClose deriving (Eq, Show, Typeable) data Socket@@ -407,8 +407,8 @@ -- 'Datagram'. The protocol number is usually 'defaultProtocol'. -- If 'AF_INET6' is used, the 'IPv6Only' socket option is set to 0 -- so that both IPv4 and IPv6 can be handled with one socket.-socket :: Family -- Family Name (usually AF_INET)- -> SocketType -- Socket Type (usually Stream)+socket :: Family -- Family Name (usually AF_INET)+ -> SocketType -- Socket Type (usually Stream) -> ProtocolNumber -- Protocol Number (getProtocolByName to find value) -> IO Socket -- Unconnected Socket socket family stype protocol = do@@ -1006,7 +1006,7 @@ #ifdef SO_USELOOPBACK UseLoopBack -> #const SO_USELOOPBACK #endif-#ifdef HAVE_DECL_IPV6_V6ONLY+#if HAVE_DECL_IPV6_V6ONLY IPv6Only -> #const IPV6_V6ONLY #endif
Network/Socket/ByteString/Lazy.hsc view
@@ -27,10 +27,11 @@ -- * Send data to a socket send , sendAll+ , #endif -- * Receive data from a socket- , getContents+ getContents , recv ) where
configure.ac view
@@ -1,4 +1,4 @@-AC_INIT([Haskell network package], [2.3.0.9], [libraries@haskell.org], [network])+AC_INIT([Haskell network package], [2.3.0.10], [libraries@haskell.org], [network]) ac_includes_default="$ac_includes_default #ifdef HAVE_NETDB_H
network.cabal view
@@ -1,5 +1,5 @@ name: network-version: 2.3.0.9+version: 2.3.0.10 license: BSD3 license-file: LICENSE maintainer: Johan Tibell <johan.tibell@gmail.com>