1-- A TCP client that does the following:
2-- * Reads multiple filenames passed on the command line
3-- * Opens as many concurrent connections to the server
4-- * Sends all the files concurrently to the server
6import System.Environment (getArgs)
9import qualified Streamly.Prelude as S
10import qualified Streamly.FileSystem.File as File
11import qualified Streamly.Network.Client as Client
15 let sendFile = Client.writeArrays (127,0,0,1) 8090 . File.readArrays
16 in getArgs >>= S.drain . parallely . S.mapM sendFile . S.fromList
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list