| GTcpSocket Library Manual |
|---|
Getting Started — Figuring out what your server sub-class needs
For the purposes of this tutorial, we will use the FLP (File Leaching Protocol) featured in Chapter , Client Application Tutorial. As noted, FLP has four commands sent in raw ASCII:
| Command | Success Reply | Error Replies |
|---|---|---|
LOGIN {username} {passwd} | FLP LOGGED_IN | FLP BADUSERPASS |
GET {filename} {offset} | FLP STARTGET {file size} | FLP NOTFOUND, FLP BADPERMS, FLP DONEGET |
STOP | FLP STOPPED | FLP NOTRANSFER |
QUIT | (None) | (None) |
| ? | (None) | FLP UNKNOWN |
| << Server Application Tutorial | Part III. API Reference >> |