@@ -1,5 +1,15 @@
1{-# LANGUAGE BangPatterns, CPP, ScopedTypeVariables, PackageImports #-}
1{-# LANGUAGE BangPatterns, CPP, ScopedTypeVariables, PackageImports #-}
3+----------------------------------------------------------------------------------------------------
5+-- WARNING -- This transport is not yet completed. TODO:
7+-- * Add support for messages greater than 4096 bytes.
8+-- * debug ODD problem with CEREAL below
9+-- * switch to unix-bytestring after that package is updated for 7.4.1
11+----------------------------------------------------------------------------------------------------
3module Network.Transport.Pipes
13module Network.Transport.Pipes
4 ( mkTransport
14 ( mkTransport
@@ -57,7 +67,6 @@ readit fd n = do (s,_) <- PIO.fdRead fd n
57-- The msg header consists of just a length field represented as a Word32
67-- The msg header consists of just a length field represented as a Word32
58sizeof_header = 4
68sizeof_header = 4
60−-- fileFlags = PIO.defaultFileFlags
61fileFlags =
70fileFlags =
62 PIO.OpenFileFlags {
71 PIO.OpenFileFlags {
63 PIO.append = False,
72 PIO.append = False,