Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. piderman

    Socket without endlines

    Okay, thanks for the info. I see now I made an error in my program :$. This is the solution I have conjured and it works: proc readcommand {s} { set command "" # just need a character other than | :) set char c while {$char != "|"} { set char [read $s 1] append command...
  2. piderman

    Socket without endlines

    Hi, I'm trying to make a client for the DC protocol using Tcl/Tk. The major problem is that this protocol doesn't send endlines, but rather the | character to end a command. This poses great problems. For one, 'gets' will always return an empty string, and 'read' will block when reading more...

Part and Inventory Search

Back
Top