Re: Socket stuck with puts over ADSL line
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Socket stuck with puts over ADSL line

From: Hillel <hseltzer@larich.com>
Date: Sun Feb 26 2006 - 02:43:41 CET

Thanks, Melissa. I already tried the [filevent writeable] method. The
socket registers as writeable with no problems, and the program still
gets stuck with the puts command within the filevent writeable
callback.

I have to wonder about using full buffering with a small buffer size.
If the data being sent in the puts command is a lot larger than the
socket buffer as set with fconfigure, will the system send each
buffered portion across the WAN as its own TCP packet, or will the OS
reassemble the whole thing and then break it up again by the network
MTU value before sending it over the WAN? If the former, then this
could be used to overcome packet fragmentation and reassembly problem
due to the reduced effective MTU from the PPPoE and VPN on this one
ADSL line. If the latter, then I have a big problem as the route to
the DSL network is shared by other remote sites that do not have this
restriction and reducing the MTU at the server end could seriously
affect network performance to other sites. I am using TCL 8.3.5 on SCO
OpenServer 5.0.7.
Received on Sun Apr 30 02:15:52 2006