Introduction to Java Sockets
COMS W4119 - Computer Networks
Guest Lecture
Date :
Thursday, February 6th, 2003, 4:10pm
Speaker :
Alexander V. Konstantinou
Title:
Introduction to Java Sockets
Slides:
[
Adobe PDF (581K)
] [
Postscript (500K)
] [
HTML (1.57MB)
]
Handouts:
[
Adobe PDF (570K)
] [
Postscript (498K)
]
Slide Contents
Java Sockets
Coordinates (Internet Stack)
What Are Sockets?
File vs. Socket API
Socket Types
Sockets Advantages
Java Socket API Overview
Java I/O Streams
Network Communication
Network Ports
Example: HTTP Client
HTTP Client (No Error Handling)
Stream Socket Error Handling
Server Stream Sockets
HTTP Server (Trivial)
Java Threads
Threaded Server Pattern
Datagram Sockets
UDP Client Example
UDP Server Example
SSL Sockets
Non-blocking Java I/O
Socket FAQs
Socket FAQs (2)
Advanced Issues
[
Presentations
]