A Max object written in java (using mxj) to communicate back and forth over a single persistent TCP/IP socket with a TCP/IP server, something the net.tcp objects that ship with Max can't do. Opens a socket, then sends and receives info without closing it. Closes the socket only when you tell it to, or when the server disconnects (ie from inactivity).
    Useful for connecting to simple hardware network devices like EZ Web Lynx and other microcontrollers/DSPs that don't easily support something nicer like OSC, or any TCP Protocol that sends data back on the same socket.
    2013-11-09 - New in 0.6: correct reporting of Nagle's Alogrithm (noDelay) use, attributes are output as messages rather than single symbols in response to get commands, outlet response for Nagle's Algorithm (noDelay)
    Tested on MaxOS X 10.5, 10.6, 10.8 and Windows XP, Max/MSP 5.1.x and 6.1.5
    Developed by Arvid Tomayko-Peters for Your Heaven, LLC
    Thanks to David Reilly for his TimedSocket class.
    Tool Files
    • tcpClient 0.5 (2010-12-30)
    • tcpClient 0.6

    • ygreq
      Oct 15 2019 | 10:48 am
      How can I make this work in Max 8 (Win)? Thank you!