[cs631apue] udgramread

Jan Schaumann jschauma at stevens.edu
Mon Oct 24 22:51:28 EDT 2016


Hello,

Tonight in class the 'udgramread' and 'udgramsend' programs did not work
as expected.  The reason is that I modified the two programs this
afternoon without verifying that my change did what it should have done
-- a common mistake. :-}

I've updated the code with the correction and confirmed it to work as it
should:

$ ./udgramread
socket -> socket
^Z
$ ls -l socket
srwx------  1 jschauma professor 0 Oct 24 22:50 socket
$ ./udgramsend socket
$ fg
./udgramread
--> The sea is calm tonight, the tide is full . . .

Sorry about the mistake earlier.

-Jan


More information about the cs631apue mailing list