All Manuals > LispWorks Release Notes and Installation Guide > 13 Release Notes > 13.8 More new features


13.8.4 Subclassing socket-stream

The new function comm:connect-to-tcp-server .attempts to connect to a socket on a server and returns a handle for the connection if successful. The handle can then be used as the socket when making a comm:socket-stream .

In most situations you would use instead comm:open-tcp-stream which connects and returns a comm:socket-stream object. comm:connect-to-tcp-server is useful when you want to subclass comm:socket-stream , passing the handle as the socket when instantiating your subclass.

LispWorks Release Notes and Installation Guide - 23 Dec 2011