Re: comm package issue



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.

.



Relevant Pages

  • comm package issue
    ... I am trying to invoke commands on a remote machine using comm package ... The send command never returns. ...
    (comp.lang.tcl)
  • Re: Ran ccmclean on site server, what are implications???
    ... i ran the synctool command line in a cmd running under system account using ... The sync tool only has to retrieve the files from the distribution share ... only created the package folder. ... baffles me that the advanced client that resides on the sms ...
    (microsoft.public.sms.setup)
  • Re: What are the core packages for a desktops Linux desktop distribution?
    ... Your use of the term package is a bit confusing ... You'll need the mount command as well. ... As for Gnome, if you are going for minimalism, I ... wouldn't install it - you don't need it. ...
    (comp.os.linux.misc)
  • [UNIX] GNU Mailutils Multiple Vulnerabilities (Buffer Overflows, Format String, DoS)
    ... execute arbitrary code from remote using the GNU Mailutils programs. ... Remote exploitation of a format string vulnerability in the imap4d server ... The vulnerability specifically exists in the handling of the command tag ...
    (Securiteam)
  • Re: Life on the Command Line
    ... Gutsy as the IM package or the ICQ package. ... There are a lot of games you can play in the Command Line, ... terminals in one window (like tabbing, except it can be used everywhere, ...
    (Ubuntu)