Subject: Re: TCP/IP, other protocols, callable from Scheme
From: (Rob Warnock)
Date: 19 Apr 2001 02:15:39 GMT
Newsgroups: comp.lang.scheme
Message-ID: <9blhob$1c8s3$>
John R. Strohm <> wrote:
| I have a need for some basic networking protocol stuff in Scheme.
| I need IP, UDP, and a PPP stack that can be encapsulated in something else.
| Any suggestions on where to start looking?  I'd really rather not reinvent
| the wheel.

Sorry, you may have to!! The problem is that you've specified UDP. Many
(most?) Schemes have some sort of *TCP* support built-in (or available as
dynamically-loadable extensions), e.g., see MzScheme's networking intrinsics
<URL:>, which
include "tcp-listen/tcp-accept" and "tcp-connect" for server & client sides,
respectively. With those, you can write a simple-minded web client or server
in just a few lines of Scheme.

YMMV, but I haven't seen any Scheme implementations with UDP support...


Rob Warnock, 31-2-510
SGI Network Engineering		<URL:>
1600 Amphitheatre Pkwy.		Phone: 650-933-1673
Mountain View, CA  94043	PP-ASEL-IA