For Programmers: Free Programming Magazines  


Home > Archive > Tcl > May 2007 > Re: Can't figure out what's preventing the full message to send on









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Can't figure out what's preventing the full message to send on
Ralf Fassel

2007-05-23, 7:12 pm

* Andrew Falanga <af300wsm@gmail.com>
| The remote program is C++ and is therefore off topic here, but FYI the
| program uses select to wait for readable data on the socket. I get
| "STF-", realize it's not all I'm looking for, reset my file descriptor
| sets for select and recall select on my socket to wait for the rest.
| I then timeout, and the "READY" part of the string is never
| received.

- You could try to 'flush' after the puts, though it should not make a
difference.
- You could try to use a TCL-test program at the remote side to see
whether it also receives only "STF-". If the remote TCL program
sees the whole string, you would know where to look :-)

My EUR 0.02...
R'
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com