Re: socket question

2002-02-11 Thread Volker Stolz
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

socket question

2002-02-08 Thread Hal Daume III
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.