home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / wizards / 3369 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.2 KB

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