MC9241-Network Programming |
UNIT I INTRODUCTION |
Introduction Overview of UNIX OS - Environment of a UNIX process - Process control
- Process relationships Signals Interprocess Communication- overview of tcp/ip
protocols |
UNIT II ELEMENTARY TCP SOCKETS |
Introduction to Socket Programming Introduction to Sockets Socket address
Structures Byte ordering functions address conversion functions Elementary TCP
Sockets socket, connect, bind, listen, accept, read, write , close functions Iterative
Server Concurrent Server. |
UNIT III APPLICATION DEVELOPMENT |
TCP Echo Server TCP Echo Client Posix Signal handling Server with multiple
clients boundary conditions: Server process Crashes, Server host Crashes, Server
Crashes and reboots, Server Shutdown I/O multiplexing I/O Models select function
shutdown function TCP echo Server (with multiplexing) poll function TCP echo
Client (with Multiplexing) |
UNIT IV SOCKET OPTIONS, ELEMENTARY UDP SOCKETS |
Socket options getsocket and setsocket functions generic socket options IP socket
options ICMP socket options TCP socket options Elementary UDP sockets UDP
echo Server UDP echo Client Multiplexing TCP and UDP sockets Domain name
system gethostbyname function Ipv6 support in DNS gethostbyadr function
getservbyname and getservbyport functions. |
UNIT V ADVANCED SOCKETS |
Ipv4 and Ipv6 interoperability threaded servers thread creation and termination
TCP echo server using threads Mutexes condition variables raw sockets raw
socket creation raw socket output raw socket input ping program trace route
program. |
References |
1. W. Richard Stevens, Advanced Programming in The UNIX Environment,
Addison Wesley, 1999.
2. W. Richard Stevens, UNIX Network Programming - Volume 1, Prentice Hall
International, 1998. |