{5} Assigned, Active Tickets by Owner (Full Description) (2 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

bos (1 match)

Ticket Summary Component Milestone Type Created
Description
#5 getAddrInfo and addrFamily not in scope on Windows GHC 6.8 network defect 01/20/09

Originally reported here: http://hackage.haskell.org/trac/ghc/ticket/2726


import Network.Socket

... getAddrInfo

... addrFamily

--

gives me not in scope on Windows. The same code works on Unix.


Looking at the code, these are only available if IPV6_SOCKET_SUPPORT is defined. I don't know more than that off the top of my head.


tibbe (1 match)

Ticket Summary Component Milestone Type Created
Description
#7 Network.Socket.recv throws IOException on reading 0 bytes network defect 04/05/09

Initially reported here: http://hackage.haskell.org/trac/ghc/ticket/3071


My man pages has the following to say about the return value of recv:

These calls return the number of bytes received, or -1 if an error occurred.

For TCP sockets, the return value 0 means the peer has closed its half side of the connection.

This means that it's absolutely fine to read 0 bytes when using e.g. UDP socket.

However, the Network.Socket.recv function always throws an exception upon reading 0 bytes regardless of the protocol family.


Note: See TracReports for help on using and creating reports.