Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!rochester!uhura.cc.rochester.edu!ur-valhalla!micropen!dave From: dave@micropen (David F. Carlson) Newsgroups: comp.unix.wizards Subject: Re: is this wise? Summary: sure thing... Keywords: /dev/stdin, /dev/hosts Message-ID: <693@micropen> Date: 3 May 89 13:34:30 GMT References: <378@chessene.UUCP> Organization: Micropen Dirent Writing Systems, Pittsford, NY Lines: 17 In article <378@chessene.UUCP>, root@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@ee.rochester.edu "The faster I go, the behinder I get." --Lewis Carroll