Create your own awesome maps

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account?
Log In

TCP/IP Programming by Mind Map: TCP/IP Programming
0.0 stars - reviews range from 0 to 5

TCP/IP Programming

TCP

Connection-oriented transport service

Structure

Contains segments

Transport address = protocol number (8bit)

Protocol port - 16 bit

Ports

Server, Under 1024

Client, Above 1024

IP

Takes care of transferring packets to destination

UDP

Connectionless

Datagram-based

General notes

TCP/IP is 100% client-server

IPC (Inter-process communication)

Sockets

Make network look like a file system

Routines, open/close file, open/close connection

TLI

Transfer details

Network byte order

Appeared because 8 bytes weren't enough

Little-endian (byte order: 3210), Generic to x86 architecture

Terms

Process

Triplet: protocol, ip, port

Connection (Socket)

2 triplets

Daemon

Application waiting for incoming connection

Registered with kernel, says which port it monitors

InetD

Super-server daemon in unix

xinetd impl in linux/mac os x

unix settings

/etc/services

Map port - program

Example, telnet 23/tcp

/etc/inetd.conf

Example, telnet stream tcp6 nowait root /usr/sbin/telnetd telnetd -a

Provide call with args