Networking Lab 7

TCP/IP Programming

Goal

To create either a network web proxie or a network client/server file server using TCP/IP and either Java or C++.

Lab Objective:

  • To gain experience using Unix/Linux TCP socket programming

Reading/Reference:

Sample Code

Simple TCP Chat

A simple client server Chap program using TCP

Find files in a directory

A program to list the files in a given directory

Choose one of the below.

Use TCP connections rather than UDP this time.

Due December 9. Must present in class. *
Topic attachments
I Attachment Action Size Date Who Comment
Cppcpp DieWithError.cpp manage 0.2 K 2013-11-05 - 03:30 JimSkon DieWithError .c
Cppcpp HandleTCPClient.cpp manage 1.1 K 2013-11-05 - 03:32 JimSkon HandleTCPClient .cpp
Cppcpp ListFiles.cpp manage 1.8 K 2013-11-05 - 03:36 JimSkon ListFiles .cpp
MakefileEXT Makefile manage 0.7 K 2013-11-05 - 03:33 JimSkon Makefile
Cppcpp TCPEchoClient.cpp manage 3.2 K 2013-11-05 - 03:32 JimSkon TCPEchoClient
Cppcpp TCPEchoServer.cpp manage 2.5 K 2013-11-05 - 03:33 JimSkon TCPEchoServer
Topic revision: r6 - 2013-12-15 - JimSkon
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback