Sockets - CS 580 Client-Server Programming Spring Semester,...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 580 Client-Server Programming Spring Semester, 2010 Doc 6 Sockets Feb 11, 2010 Copyright ©, All rights reserved. 2010 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA. OpenContent ( http:// www.opencontent.org/opl.shtml ) license defines the copyright on this document.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
References 2 Java On-line API http://java.sun.com/j2se/1.5.0/docs/api/index.html Unix Network Programming, Stevens, 1990, Berkeley Sockets chapter 6. TCP/IP Illustrated Vol 1, Stevens, 1994, chapter 20. Internetworking with TCP/IP, BSD Socket Version Vol. 3, Comer, Stevens, Prentice-Hall, 1993
Background image of page 2
Socket Options 3 Timeouts Buffer Size Multi-Homing No Delay for small data Linger on close Keep-Alive Urgent-Data
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Timeouts 4 Socket will time out after specified time of inactivity Java Both Socket and ServerSocket class support: void setSoTimeout(int timeoutInMilliseconds) throws SocketException void getSoTimeout() throws SocketException Must be sent before performing a read Read throws SocketTimeoutException when socket times out Not normally used on ServerSockets
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/16/2011 for the course CS 580 taught by Professor Rogerwhitney during the Spring '11 term at Community college of RI.

Page1 / 12

Sockets - CS 580 Client-Server Programming Spring Semester,...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online