home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:3369 comp.dcom.sys.cisco:1000
- Path: sparky!uunet!news.univie.ac.at!blekul11!frmop11!barilvm!bimacs!yedidya
- From: yedidya@bimacs.BITNET (Yedidya Israel)
- Newsgroups: comp.unix.wizards,comp.dcom.sys.cisco
- Subject: heading garbage from a socket
- Message-ID: <4090@bimacs.BITNET>
- Date: 30 Jul 92 15:05:49 GMT
- Organization: Math department, Bar-Ilan University, Ramat-Gan, ISRAEL
- Lines: 21
-
-
- Hello net I hope I'll get help this time too.
-
- I wrote a simple code to open a socket connection to a terminal server
- using a specified port number in order to bidirectional "talk" with a
- PostScript printer hooked up on it.
-
- The connection goes well except for first read() on the socket that
- gets a trailing garbage (always the same garbage) e.g.
-
- \377\373\001\377\373\003%%[ Error: invalidfont; OffendingCommand: ...
- ^^^^^^^^^^^^^^^^^^^^^^^^
-
- Any idea?
- --
- Israel Yedidya, Phone: 972-3-5318682 or 972-3-5318407/8
- System Administrator, Fax: 972-3-5353325
- Math & CS Department, Email: yedidya@bimacs.cs.biu.ac.il
- Bar-Ilan University, Bitnet: yedidya@bimacs
- Ramat-Gan, ISRAEL. Uucp: ...!uunet!pucc.princeton.edu!bimacs!yedidya
- If someone proves there is no God, I'll stop being religious!
-