is this wise?
David F. Carlson
dave at micropen
Wed May 3 23:34:30 AEST 1989
In article <378 at chessene.UUCP>, root at chessene.UUCP (Mark Buda) writes:
! Consider this (and ignore the lack of error checking):
!
! FILE *f;
! f = fopen("/dev/hosts/uunet.uu.net/tcp/79", "r+");
! fprintf(f, "\r\n");
! fclose(f);
!
! There. Isn't that much nicer than sockets?
Writing on a FILE opened for reading is never nicer than sockets.
--
David F. Carlson, Micropen, Inc.
micropen!dave at ee.rochester.edu
"The faster I go, the behinder I get." --Lewis Carroll
More information about the Comp.unix.wizards
mailing list