TCP/IP Programming

Get Started. It's Free
or sign up with your email address
Rocket clouds
TCP/IP Programming by Mind Map: TCP/IP Programming

1. TCP

1.1. Connection-oriented transport service

1.2. Structure

1.3. Contains segments

1.4. Transport address = protocol number (8bit)

1.5. Protocol port - 16 bit

1.6. Ports

1.6.1. Server

1.6.1.1. Under 1024

1.6.2. Client

1.6.2.1. Above 1024

2. IP

2.1. Takes care of transferring packets to destination

3. UDP

3.1. Connectionless

3.2. Datagram-based

4. General notes

4.1. TCP/IP is 100% client-server

5. IPC (Inter-process communication)

5.1. Sockets

5.1.1. Make network look like a file system

5.1.2. Routines

5.1.2.1. open/close file

5.1.2.2. open/close connection

5.2. TLI

6. Transfer details

6.1. Network byte order

6.1.1. Appeared because 8 bytes weren't enough

6.1.2. Little-endian (byte order: 3210)

6.1.2.1. Generic to x86 architecture

7. Terms

7.1. Process

7.1.1. Triplet: protocol, ip, port

7.2. Connection (Socket)

7.2.1. 2 triplets

7.3. Daemon

7.3.1. Application waiting for incoming connection

7.3.2. Registered with kernel, says which port it monitors

8. InetD

8.1. Super-server daemon in unix

8.2. xinetd impl in linux/mac os x

9. unix settings

9.1. /etc/services

9.1.1. Map port - program

9.1.2. Example

9.1.2.1. telnet 23/tcp

9.2. /etc/inetd.conf

9.2.1. Example

9.2.1.1. telnet stream tcp6 nowait root /usr/sbin/telnetd telnetd -a

9.2.2. Provide call with args