Re: comm package issue
- From: fanfareguru@xxxxxxxxx
- Date: 28 Feb 2007 20:12:53 -0800
On Feb 28, 4:56 pm, fanfareg...@xxxxxxxxx wrote:
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.
Never mind... It works... My server concepts were apparently rusty.
.
- References:
- comm package issue
- From: fanfareguru
- comm package issue
- Prev by Date: Re: ODBC
- Next by Date: Re: Just for fun: Can it be done shorter than this?
- Previous by thread: comm package issue
- Next by thread: Re: GPL contamination with ffidl?
- Index(es):
Relevant Pages
|