|
TCP for Text Transport
An Introduction with Examples in Java |
|
Prof. David Bernstein
|
| Computer Science Department |
| bernstdh@jmu.edu |
ServerSocket Objects and Threads
accept() method blocks so, in most cases,
it will need to be called in a thread of execution
controlled by the serveraccept() method time-out