comm package issue
- From: fanfareguru@xxxxxxxxx
- Date: 28 Feb 2007 16:56:07 -0800
Hi,
I am trying to invoke commands on a remote machine using comm package
in Tcllib.
I am running into an issue where the command never returns and is
blocked.
Below is the sample code.
On server (windows):
% package req comm
4.3
% comm::comm config -local 0
% comm::comm config
-port 3926 -silent 0 -encoding utf-8 -chan ::comm::comm -local 0 -
listen 1 -serial 0 -socket sock176
%
On client (windows)
% package require comm
4.4
% comm::comm config -local 0
% comm::comm connect "3926 10.155.0.101"
sock276
% comm::comm send "3926 10.155.0.101" set a 1
The send command never returns. If I do -async, then it returns but
the command is never evaluated on the remote side. Looks like its
waiting for something.
I am using latest 8.4 Tcl version and it happens whether client/server
are linux/Windows.
Any suggestions as to what I am doing wrong here. I remember vaguely
that I did once try using comm and it used to work fine on remote
machines.
Thanks.
.
- Follow-Ups:
- Re: comm package issue
- From: fanfareguru
- Re: comm package issue
- Prev by Date: Re: ODBC
- Next by Date: Re: GPL contamination with ffidl?
- Previous by thread: Re: ODBC
- Next by thread: Re: comm package issue
- Index(es):
Relevant Pages
|