From maintainers-request at octave dot org Mon Nov 7 19:11:48 2005 Subject: Re: FC4 and listen From: "Dmitri A. Sergatskov" To: Paul Kienzle Cc: maintainers at octave dot org Date: Mon, 7 Nov 2005 18:10:43 -0700 On 11/7/05, Paul Kienzle wrote: > Hi, > > I'm having problems getting the listen command to work in FC 4. > ... > > octave> listen(1234,'debug') > > and from another terminal > > octave-forge/extra/soctcl/demo/octsync.tcl 1234 > > it prints out 'done command' but not 'free evalargs'. > ... On RedHat Enterprise Linux 4 (gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1)) with few days old cvs snapshot of octave and octave-forge I got: octave:1> listen(1234,"debug") listening on port 1234 trying to accept connected server: got connection from 127.0.0.1 waiting for command received command !!!x after 34us read 22 byte command in 8us evaluating (22) send('bounce sock3 4') trying to accept received command !!!x after 709us read 22 byte command in 7us evaluating (22) send('bounce sock3 3') received command !!!x after 40081us read 22 byte command in 7us evaluating (22) send('bounce sock3 2') received command !!!x after 39649us read 22 byte command in 6us evaluating (22) send('bounce sock3 1') received command !!!x after 39626us read 22 byte command in 6us evaluating (22) send('bounce sock3 0') read socket returned 0 child is exitting ----- and on another terminal: ./octsync.tcl 1234 bounce 5 at time 0ms length of head=8 !!!x<14> cmd= bounce 4 at time 4ms length of head=8 !!!x<14> cmd= bounce 3 at time 45ms length of head=8 !!!x<14> cmd= bounce 2 at time 85ms length of head=8 !!!x<14> cmd= bounce 1 at time 125ms length of head=8 !!!x<14> cmd= bounce 0 at time 165ms ---- So it looks to me that it is not FC4 / gcc4 related problem.... > - Paul > > Sincerely, Dmitri. --