On 09/14/2017 02:28 AM, Peter wrote:
> Is there a kawa-specific way to open a server tcp port, listen for
> clients, and get back a normal Scheme I/O port when someone connects?
> Thanks for any help with this!
Not that I know of. But you can use standard Java class and methods
directly in Kawa-Scheme.
(define socket (listen-for-socket)) ; make your own listen-for-socket
(define inp (gnu.kawa.io.InPort (socket:getInputStream)))