데이터통신/분산시스템 프로젝트 개요

1. 통신 프로그램

• 기본 네트워크 시스템 구조

• Data communication between a client process and a server process

Ex) Mail - Writing files

FTP - Reading and writing files

Telnet - Virtual terminal

Talk - Chatting

etc ...

• Tool을 미리 익혀둘 것.

O/S: Unix, Linux, Windows

Unix/Linux: C, Java

Windows: Visual C++, Java

API: O/S System calls, Socket

2. API (Application Programming Interface)

• Unix system call

- Process control: fork(), exec(), wait(), exit()

- File control: open(), creat(), read(), write(), close(), lseek()

• Socket (TCP/IP N/W S/W interface)

- Server: socket() - bind() - listen() - accept() - … - read() - write() - close()

- Client: socket() -       ………       - connect() - write() - read() - close()