Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions 5/datapoints.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
128 0.326406
256 0.881652
512 1.4369
1024 2.17723
2048 2.95497
4096 3.62819
6 changes: 6 additions & 0 deletions 7/delay.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
32 0.014736
64 0.0127246
128 0.0113459
256 0.0110445
512 0.0108113
1024 0.0110604
7 changes: 7 additions & 0 deletions 7/jitter.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
16 0
32 0
64 0
128 0
256 0
512 0
1024 0
7 changes: 7 additions & 0 deletions 7/throughput.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
16 0.00828258
32 0.0157087
64 0.0207121
128 0.0519263
256 0.070962
512 0.129073
1024 0.223923
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## Expermiments

Exp -1
Implement “TCP client server” architecture using socket programming in C.
Description: retrieve information (any text or system info) from TCP server to TCP client.
Expand All @@ -11,3 +13,35 @@ Description: send information (any text or system info) from UDP client to UDP s
<br>
Exp -4
Implement “FTP server” (TCP / UDP) using socket programming in C.

<hr>

## code for gnuplot

navigate to dir with .txt or .dat file

`
gnuplot -p -e "plot 'filename.extension' with lines"
`

`
gnuplot -p -e "plot 'filename.extension' with linespoints"
`

`
gnuplot -p -e "plot 'filename.extension' with linespoints linestyle 2"
`


for extra smooth graph

`
gnuplot -p -e "plot 'filename.extension' smooth csplines"
`

to set labels

`
gnuplot -p -e "set xlabel 'yourxlabel' ; set ylabel 'yourylabel'; plot 'filename.extension' with linespoints"
`