Hello all,
I'm trying to send messages directly to PD though tcp/ip. I'm using tcl to open the connection to the pd patch. I'm using port 3000 and the netreceive object does output 1 connections when I get connected, and 0 when I disconnect, but when I try and send any data down the socket I get no responce from pd.
does pd expect some handshaking or a stream header before It passes the data to the outlet?
Thanks! Ben
On Wed, 27 Feb 2002 15:00:05 -0500 (EST), Ben Bogart - FMPM/F1999 wrote:
I'm trying to send messages directly to PD though tcp/ip. I'm using tcl to open the connection to the pd patch. I'm using port 3000 and the netreceive object does output 1 connections when I get connected, and 0 when I disconnect, but when I try and send any data down the socket I get no responce from pd.
does pd expect some handshaking or a stream header before It passes the data to the outlet?
no handshake, no header. just a list of messages seperated by semicolons
message1; message2; blabla;
Thanks!
That worked great, but we had to put a ; in front or else the string would put an "l" in front:
send: hello; get: l hello send ;hello; get: hello
Works great.
Thanks again.
On Wed, 27 Feb 2002, smoerk wrote:
On Wed, 27 Feb 2002 15:00:05 -0500 (EST), Ben Bogart - FMPM/F1999 wrote:
I'm trying to send messages directly to PD though tcp/ip. I'm using tcl to open the connection to the pd patch. I'm using port 3000 and the netreceive object does output 1 connections when I get connected, and 0 when I disconnect, but when I try and send any data down the socket I get no responce from pd.
does pd expect some handshaking or a stream header before It passes the data to the outlet?
no handshake, no header. just a list of messages seperated by semicolons
message1; message2; blabla;
I read:
does pd expect some handshaking or a stream header before It passes the data to the outlet?
no
you can test your patch (and the script) using telnet or (a bit more flexible) netcat ... I guess sth. else is wrong could you put your patch/script on the net somewhere for inspection ??
atb
x