This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Connectionless
Checksums (optional) UDP TCP IP
Physical Network SAS Institute Inc.
Cary, NC SAS/C & C++ Compiler R&D Slide 10
Feb. 1998 C Socket Programming Tutorial SHARE Session 5958 Transmission Control Protocol (TCP)
Stream Data Transfer
Suited for critical data transfer applications SAS Institute Inc.
Cary, NC SAS/C & C++ Compiler R&D Slide 11
Feb. 1998 C Socket Programming Tutorial SHARE Session 5958 The Importance of Ports
U U U Both the TCP and UDP protocols use 16 bit
identifiers called ports to uniquely identify the
processes involved in a socket.
In UNIX the first 1024 ports for both protocols are
called “well known ports” and are defined in the file
/etc/services. Programs that bind to these ports
require “root” access.
These numbers are managed by the Internet
Assigned Numbers Authority (IANA). A complete
list of these assignments and more information
View Full Document
This document was uploaded on 02/14/2014.
- Summer '12