Script started on Tue Feb 12 00:43:32 2002
   February 2002

npu5:/home/huanghao/cs515/hw1(15)>ll

total 1084
-rw-r--r--   1 huanghao        0 Feb 12 00:42 client_npu5
-rw-------   1 huanghao     6384 Feb  3 17:32 libmyerror.a
-rw-------   1 huanghao     1226 Feb 12 00:40 makefile
-rw-------   1 huanghao     1739 Feb 12 00:35 readme
-rw-r--r--   1 huanghao        0 Feb 12 00:42 server_npu8
-rw-------   1 huanghao     2026 Feb 12 00:35 srcp.h
-rw-------   1 huanghao      625 Feb 12 00:35 srcp_app_clnt.c
-rw-------   1 huanghao      623 Feb 12 00:35 srcp_app_srv.c
-rw-------   1 huanghao     4578 Feb 12 00:35 srcp_clnt.c
-rw-------   1 huanghao     4293 Feb 12 00:35 srcp_srv.c
-rw-------   1 huanghao     3769 Feb 12 00:35 srcp_util.c
-rw-------   1 huanghao     2168 Feb 12 00:35 srcp_util_soc.c

npu5:/home/huanghao/cs515/hw1(16)>make all

gcc -I../../unpv12e -I../../unpv12e/intro   -c  srcp_srv.c
gcc -I../../unpv12e -I../../unpv12e/intro   -c  srcp_app_srv.c
gcc -I../../unpv12e -I../../unpv12e/intro   -c  srcp_util_soc.c
gcc -I../../unpv12e -I../../unpv12e/intro   -c  srcp_util.c
gcc -I../../unpv12e -I../../unpv12e/intro  -o server_hw1_2860 srcp_srv.o 
srcp_app_srv.o srcp_util_soc.o srcp_util.o ../../unpv12e/libunp.a -lsocket
gcc -I../../unpv12e -I../../unpv12e/intro   -c  srcp_clnt.c
gcc -I../../unpv12e -I../../unpv12e/intro   -c  srcp_app_clnt.c
gcc -I../../unpv12e -I../../unpv12e/intro  -o client_hw1_2860 srcp_clnt.o 
srcp_app_clnt.o srcp_util_soc.o srcp_util.o ../../unpv12e/libunp.a -lsocket
npu5:/home/huanghao/cs515/hw1(17)>ll

total 1248
-rwxr-xr-x   1 huanghao    75056 Feb 12 00:43 client_hw1_2860*
-rw-r--r--   1 huanghao        0 Feb 12 00:42 client_npu5
-rw-------   1 huanghao     6384 Feb  3 17:32 libmyerror.a
-rw-------   1 huanghao     1226 Feb 12 00:40 makefile
-rw-------   1 huanghao     1739 Feb 12 00:35 readme
-rwxr-xr-x   1 huanghao    74249 Feb 12 00:43 server_hw1_2860*
-rw-r--r--   1 huanghao        0 Feb 12 00:42 server_npu8
-rw-------   1 huanghao     2026 Feb 12 00:35 srcp.h
-rw-------   1 huanghao      625 Feb 12 00:35 srcp_app_clnt.c
-rw-r--r--   1 huanghao      557 Feb 12 00:43 srcp_app_clnt.o
-rw-------   1 huanghao      623 Feb 12 00:35 srcp_app_srv.c
-rw-r--r--   1 huanghao      556 Feb 12 00:43 srcp_app_srv.o
-rw-------   1 huanghao     4578 Feb 12 00:35 srcp_clnt.c
-rw-r--r--   1 huanghao     4656 Feb 12 00:43 srcp_clnt.o
-rw-------   1 huanghao     4293 Feb 12 00:35 srcp_srv.c
-rw-r--r--   1 huanghao     4136 Feb 12 00:43 srcp_srv.o
-rw-------   1 huanghao     3769 Feb 12 00:35 srcp_util.c
-rw-r--r--   1 huanghao     2456 Feb 12 00:43 srcp_util.o
-rw-------   1 huanghao     2168 Feb 12 00:35 srcp_util_soc.c
-rw-r--r--   1 huanghao     1468 Feb 12 00:43 srcp_util_soc.o

npu5:/home/huanghao/cs515/hw1(18)>cp client_hw1_2860 /tmp/clnt2860

npu5:/home/huanghao/cs515/hw1(19)>cp readme /tmp/txt2860

npu5:/home/huanghao/cs515/hw1(20)>client_hw1_2860 npu5:/tmp/clnt2860 npu8:clnt.exe

**dumpAddr: Peer(Server) = npu8.npu.edu, 192.168.0.38, 22860

**dumpAddr: Local = npu5, 192.168.0.35, 57707

OK for transmit!

Client open file /tmp/clnt2860 for read success!!


npu5:/home/huanghao/cs515/hw1(21)>client_hw1_2860 npu5:/tmp/txt2860 npu8:/home/huanghao/txt2860txt

**dumpAddr: Peer(Server) = npu8.npu.edu, 192.168.0.38, 22860

**dumpAddr: Local = npu5, 192.168.0.35, 57708

OK for transmit!

Client open file /tmp/txt2860 for read success!!


npu5:/home/huanghao/cs515/hw1(22)>client_hw1_2860 npu8:/tmp/server2860 npu5:srv2860.exe

**dumpAddr: Peer(Server) = npu8.npu.edu, 192.168.0.38, 22860

**dumpAddr: Local = npu5, 192.168.0.35, 57709

Client open file srv2860.exe for write success!!


npu5:/home/huanghao/cs515/hw1(23)>client_hw1_2860 npu8:/tmp/srcp.txt npu5:srcptxt

**dumpAddr: Peer(Server) = npu8.npu.edu, 192.168.0.38, 22860

**dumpAddr: Local = npu5, 192.168.0.35, 57712

Client open file srcptxt for write success!!


npu5:/home/huanghao/cs515/hw1(24)>diff /tmp/clnt2860 clnt.exe


npu5:/home/huanghao/cs515/hw1(25)>diff /tmp/txt2860 /home/huanghao/txt2860.txt


npu5:/home/huanghao/cs515/hw1(26)>diff /tmp/server2860 srv2860.exe

diff: /tmp/server2860: No such file or directory   // /tmp/server2860 should be in npu8

npu5:/home/huanghao/cs515/hw1(27)>exit
script done on Tue Feb 12 01:02:06 2002
