Network Programming Flashcards
ARP
Address Resolution Protocol
MAC
Media Access Control
Where is the MAC stored
On ROM on the NIC
DNS
Domain Name Server
What is the function of a DNS?
To resolve names to IP addresses
Port 80
HTTP
Port 442
HTTPS
Port 22
SSH
Port 23
Telnet
Port 25
SMPT
Port 53
DNS
What ports can be used by the user?
Any port > 1024
What is a DNS?
Special server on the Internet that translate host names into IP addresses
IP
Internet Protocol
What is IP?
A low-level protocol for delivering data from one computer to another across the Internet in packets
TCP
Transmission Control Protocol
What is TCP?
A higher level protocol than IP that is used in conjunction with IP
UDP
User Datagram Protocol
What is UDP?
A higher level protocol than IP that is used in conjunction with IP
Sockets
Sockets are the endpoints of logical connections between two hosts and can be used to send and receive data
Range of port numbers
Port numbers can range from 0-65536, but port numbers 0-1024 are reserved for privileged services.
java.net.BindException
Caused when attempting to create a server socket on a port already in use