Trying to create a tcp sender

Apr 22, 2008 at 6:11pm

Trying to create a tcp sender

Hi, I’m trying to create a TCP Sender in javascript to use in Max. I know there’s the built-in mxj net.tcp.send, but I’m not sure if that automatically closes the connection after the message is sent. I wanted a little more control over it, so I decided to just try writing it. However, when I go to import what I need to use the TcpClient class, it says that “import is a reserved identifier”. Does this mean that I can’t import anything, or am I just going about it the wrong way?

Thanks.

#37068
Apr 23, 2008 at 8:57pm

Quote: magicplayr2000@gmail.com wrote on Tue, 22 April 2008 20:11
—————————————————-
> Hi, I’m trying to create a TCP Sender in javascript to use in Max. I know there’s the built-in mxj net.tcp.send, but I’m not sure if that automatically closes the connection after the message is sent. I wanted a little more control over it, so I decided to just try writing it. However, when I go to import what I need to use the TcpClient class, it says that “import is a reserved identifier”. Does this mean that I can’t import anything, or am I just going about it the wrong way?
>
> Thanks.
—————————————————-

Are you sure you’re talking about Javascript, not Java?

Mattijs

#127604

You must be logged in to reply to this topic.