Sockets and WinSock
Special addresses
- Network address: first address in subnet (0)
- Router address: second address in subnet (1)
- Broadcast address: last address in subnet (255)
Sockets are the basic TCP requirement
Socket address
- IP address of the receiver
- Port number of the receiving program (80,21,23)
- Type of port TCP or UDP
WinSock is an adaptation of sockets to the PC
- part of the OS (Windows, Linux, etc.)
- an application programming interface