computer networking project - ip messenger

Download Computer Networking Project - IP Messenger

Post on 25-Jul-2015

39 views

Category:

Documents

2 download

Embed Size (px)

DESCRIPTION

Specification of a simple IP messenger as the computer assignment of the computer networking course.

TRANSCRIPT

Shahid Beheshti University - ECE Department Computer Networking

1

1 . 2 . broadcast UDP 7631 . .255 bytes Computer Name 4 bytes TCP Listen Port 1 byte Request Reply

3 . .

1 2

Messenger Subnet 3 ComputerName

4TCP . TCP . . . 1 5 . . 01 . 0 . . 03 . . )( . . 6 . 7 .

4 5

AcceptTCPconnections Requestreply 6 BinaryFile 7 Folder

. . . . 0 \t Message 0 \t Message File or folder name File or folder name

TCP TCP . . . . . . . . . . )1 \t User response (0: reject | 1: accept

TCP : 1. . 2. 3.

. 8 . ) ( " /" . . test \ C:\Users\Guest\Documents . text.txt . /test . text.txt . 2 \t File name Relative path )Content length (bytes )Binary data (base 64 encoding

. . . Thread . 9 Java o )52 ( o )5 ( o 01 )5 ( 8 9

Relativepath Sourcecode

o 11 )5 ( o )5 ( 21 )5 ( 05 . . HardCopy . Zip [StudentID][8802].zip 42 32/1/9831 memarypour@yahoo.com . 01% . . LAN 31 . .

01 11

GraphicalUserInterface Encryption 21 StateMachine 31 VirtualMachine