-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
39 lines (35 loc) · 1.03 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
The zip contains the following folder and file
-programs
client.c
client_UDP.c
makefile
server.c
server_UDP.c
-WriteUpSupportingFiles
big3.txt
nonPersistentResult.txt
nonPersistentResult1File.txt
nonTcpPersistent1File.pcap
persistenResult1file.txt
persistentResult.txt
tcpNonPersistent.pcap
tcpPersistent.pcap
tcpPersistent1File.pcap
udpResult.txt
-WriteUp.docx
Steps to be followed for execution
1) Open teminal. Navigate to the program folder.
2) type "make" and press enter
3) Four executable will be created. client & server for TCP & UDP
4) Arguments required for server(TCP and UDP)
arg1 - port number
5) Argument required for client TCP
arg1 - host name
arg2 - port number
arg3 - connection type(np - non persistent, p - persistent)
arg4 - file name
6) Argument required for client UDP
arg1 - host name
arg2 - port number
arg3 - file name
NOTE : The TCP client persistence connection will have a timeout period of 10seconds. So after the file is transfered the client will take 10 seconds for the connection to get closed.