blob: 6aabaaf5369bf352df349ba34f88f7b3779b1220 (
plain)
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
|
18CS54 - network programming and security
------------------------------------------------------------
Q1: Write a networking program consisting of a client and
server components. The client must request for a file by
providing a file name, and the server must respond with the
contents of the file or an appropriate error message.
Modify the client to accept the filname via a command line
argument.
A1: https://u.peppe.rs/qt.png
------------------------------------------------------------
Q6: Write a networking program to demonstrate the following:
a) Concurrent TCP server
b) Iterative TCP server
c) Connectionless UDP server
A6: a) https://u.peppe.rs/E3.png
b) https://u.peppe.rs/VA.png
c) https://u.peppe.rs/ei.png
------------------------------------------------------------
Q7: Write a networking program that recieves a shell command
from a client and returns the output of the command to the
client.
A7: https://u.peppe.rs/QD.png
------------------------------------------------------------
mirror of git.peppe.rs/university/nps
|