[cs631apue] TCP HW2

Jan Schaumann jschauma at stevens.edu
Fri Sep 14 08:44:04 EDT 2012


Ken Bodzak <kbodzak at stevens.edu> wrote:
 
> cp allows for copying both files and directories to a target. The given man
> page for tcp/tcpm imply that for tcp <source> should only be a file, and
> won't be a directory. Is this true?

Correct, your program does not need to be able to copy a directory
recursively.  If the given "source" argument is a directory, that is an
error condition for your program.

-Jan


More information about the cs631apue mailing list