Re: FTP client
Chris Angelico <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAPTjJmqJObNqN1zZaaVdQ7qYTX3OZoEyZ2pEUH_ez6e386Mf9g@mail.gmail.com> |
On Fri, Jan 16, 2015 at 4:03 AM, Pontus Östlund <[email protected]> wrote: > I almost got it ;) > I haven't done very much I/O stuff in my days so give me a pointer here > please. > > Should I replace the current fd with a new one connected to the new port? Or > do I need a separate fd? Separate one. You start with the control connection, then you establish one or more data connections. You probably don't need more than one data connection at a time, though I believe it is legal and sometimes useful. ChrisA