In local.glasgow-haskell-users, you wrote:
suppose i want to write a stupid ftp client, i want to connect to the ftp
server, wait for it to give it's intro stuff (welcome to blah,
username: ) and then it wants input. how do i do something like this?
connect cfg = withSocketsDo $
do h
suppose i want to write a stupid ftp client, i want to connect to the ftp
server, wait for it to give it's intro stuff (welcome to blah,
username: ) and then it wants input. how do i do something like this?
so far, i have (don't laugh, this is the first socket haskell program i've
written.