CS 18000 Chapter Notes - Chapter 20: Internet Protocol Suite, Terminal Emulator

36 views5 pages

Document Summary

Identifies hosts (servers, workstations, laptops) with a unique address. Identifies ports on hosts for a network connection. A server is a process that waits for a connection. A client is a process that connects to a server. Low-valued port numbers are reserved for privileged processes. Java objects can also be exchanged over network connections. Used by server to wait for a client to connect. Server must be able to communicate with all clients simultaneously no blocking. Server creates a separate thread to handle each client as it connects. Client and server may also each create separate thread for reading and writing. Uses standard file i/o classes: low-level, high-level, object, and text. Socket abstracts a tcp socket (ip address + port) Uses thread to improve responsiveness and avoid blocking. The user drives the program to do things in his/her desired order. Attempting to create a gui results in headlessexception.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers