COMS 3157 Advanced Programming

12 - Introduction to TCP/IP networking

Pipes

simplest form of one-way interprocess communication

TCP/IP networking

Sockets are similar to pipes, but:

5 protocol layers of TCP/IP

IP address

Port numbers

Client-server model

netcat: TCP/IP swiss army knife

client mode: nc <hostname or IP addr> <port>