As yet I haven't found any examples, unless that is Scheme doesn't use
sockets and has a different way for doing network coding like writing an
irc client or an email prog, news reader, httpd, filesharing, that sort
of thing?
Coming from Python and python being my 1st langauge, I have little
experience as yet, and don't know if scheme uses sockets or if there is
some other way of coding network stuff, in scheme?
Anyways any help would be greatly appreciated thanks :)
Hyperion out
Lots of Scheme implementations provide access to TCP sockets (and
sometimes UDP sockets), but they all do it a bit differently.
If you're using DrScheme, go to the Help Desk (from the Help menu) and
search for "sockets".
And if you're not using DrScheme, I recommend giving it a try. For one
thing, I suspect you'll find the Check Syntax feature helpful.
> some socket work examples in scheme?
wiki in (guile) scheme:
http://www.glug.org/people/ttn/software/wikid/
there is source and documentation under the subdir "dist",
or you can grab the tarball and browse locally.
thi
Which Scheme are you using? Quite a few Scheme implementations come with
some nice examples of network code in Scheme. As Neil mentioned, DrScheme
is a good choice - it has a friendly & useful development environment, good
online help, and a large & useful library which includes code for handling
sockets, urls, and protocols like smtp, pop3, ftp, imap, plus a
sophisticated web server (with source).
For a small standalone code sample, here's a very small web server written
for PLT Scheme (DrScheme/MzScheme):
http://groups.google.com/groups?ic=1&q=msgid:j7vya35jz47.fsf%40sun.cs.rice.e
du
Anton
Ahh sorry forgot to mention what type of scheme I was using to learn the
language.
My bad :( I am in fact using DrScheme to teach myself scheme due to its
helpfull parts included with the distro, such as htdp and Teach Yorself
Scheme In fixnum days.
lthough I do find the area of going through the process used for
teachers teaching scheme as I cant work out how to sue it properly or
find answers to some of the tests that your asked to do.
Although I am working sucesfully through htdp and SICP and also Teach
Yorself Scheme In fixnum days. and Scheme programming language doc.
I didnt realise that DrScheme ahad code examples and code for socket
work within it in its library's I will investigate further thanks.
Hyperion out
Yes I had seen this when I did a google for Scheme socket examples and
also irc client in scheme.
Though I am however using DrScheme not guile so.........
Thanks anyways ;)
Hyperion out
Yes great thanks, I had no idea DrScheme came with tools for using
sockets and code examples in it's libs.
Great stuff ;)
Hyperion out