[Home]BoostSocket/UsageScenarios

BOOST WIKI | BoostSocket | RecentChanges | Preferences | Page List | Links List

Difference (from prior major revision) (no other diffs)

Changed: 1,163c1,17
This page is to gather some usage scenarios that might be made into examples.

Client Usage



*Download a web page -- Open a socket to a URL and download a web page into an std::string. (started in libs/socket/example/http_get.cpp -HD)
*Perhaps a web spider, but this is alot of code...
*Simple console based POP3 client.
*telnet??

Server Usage




The server usage of a socket is often much more demanding then some of the client scenarios.
*Implement a file download (eg:simple one-at-a-time retrieval of file data). Server accepts socket connection, takes path name as input and returns the file as chars into the socket.
*Simple http web server just serving files.
*Simple smtp/pop3 server.

Peer-to-Peer



*An 'instant messaging' example where you 2 peers send messages back and forth.

This page is to gather some usage scenarios that might be made into examples.

Client Usage

Server Usage

The server usage of a socket is often much more demanding then some of the client scenarios.

Peer-to-Peer


BOOST WIKI | BoostSocket | RecentChanges | Preferences | Page List | Links List
Edit text of this page | View other revisions
Last edited December 18, 2004 12:19 pm (diff)
Search:
Disclaimer: This site not officially maintained by Boost Developers