CSC323 2010S Software Design

Class 17: Sockets

Back to Extreme Programming (2): A Philosophy of XP. On to Project Status Day.

This outline is also available in PDF.

Held: Tuesday, April 6, 2010

Summary: We consider Sockets, one of the simple standard mechanisms of program communication.

Related Pages:

Notes:

Overview:

Sockets: Some Background

Creating Server Sockets

Client Sockets

Communicating with Sockets

Avoiding Blocking

Detour: Dealing with Numeric Data

Activities

One-shot responses

One-shot responses, revisited

A dialog

A numeric dialog

A chat server

Back to Extreme Programming (2): A Philosophy of XP. On to Project Status Day.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Tue May 11 12:40:53 2010.
The source to the document was last modified on Mon Jan 25 20:52:44 2010.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CSC323/2010S/Outlines/outline.17.html.

You may wish to validate this document's HTML ; Valid CSS! ; Creative Commons License

Samuel A. Rebelsky, rebelsky@grinnell.edu

Copyright © 2010 Samuel A. Rebelsky. This work is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.