sockets and ports

15
Sockets and Ports …for dummies Kramer Ritchie Matthew lowery Devon bercegeay

Upload: dard

Post on 22-Feb-2016

54 views

Category:

Documents


0 download

DESCRIPTION

Sockets and Ports. …for dummies. Kramer Ritchie Matthew lowery Devon bercegeay. :80. Sockets. …Not that kind of socket. TCP/IP Protocol. Table 4-3 Commonly used TCP/IP port numbers. Well-known Ports. Registered Ports. Dynamic Ports. Open/listening port. Netstat - AN. sockets. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Sockets and Ports

Sockets and Ports…for dummies

Kramer RitchieMatthew loweryDevon bercegeay

Page 2: Sockets and Ports

PORTS

ports are 16-bit numbers between 0 and 65535 assigned to a particular

TCP/IP secession:80

Page 3: Sockets and Ports

Sockets

…Not that kind of socket

used as a unique address required by A tcp/ip communication process

A socket is a process’s port number plus its host machine’s IP address

Page 4: Sockets and Ports

TCP/IP ProtocolConnection-oriented subprotocol

Ensures reliable data delivery

Page 5: Sockets and Ports
Page 6: Sockets and Ports

Well-known Ports

Table 4-3 Commonly used TCP/IP port numbers

Range • 0-1023

Use • Operating system or Administrative

Page 7: Sockets and Ports

Registered PortsPort number range: 1024 to 49151less administrative privileges

Page 8: Sockets and Ports

Dynamic PortsPort number

range: 49152 – 65535

Also known as private ports

Page 9: Sockets and Ports

Open/listening port

Responds to any IP Packets destined for a specific port number

Shows that port is ready for packets

Page 10: Sockets and Ports

Netstat - AN

Page 11: Sockets and Ports
Page 12: Sockets and Ports

sockets

Socket SocketPair

Stored in RAM

Keeps track of status of communication

Page 13: Sockets and Ports

Sockets10.43.3.87 :80

Host Computer’s IP Address: Port Number:

Socket:

Page 14: Sockets and Ports

Why is this necessary?

The two computers communicating need to know:

where to send information

where to receive information

Page 15: Sockets and Ports

NEtstatThe Netstat utility allows users to see who their computers are connected to by viewing their sockets