Craig,
thanks for your answer.
Craig Latta wrote:
> Hi Stephan--
>
>
>>...FileServer>>initialize...
>
>
> Oops; FileServer's definition says it wants to use a pool dictionary
> called "FileServerCommands", but that should be
> "RemoteFileStreamCommands" (as defined by FileClient).
So they go to Undeclared:
Undeclared keys
a Set(#utterFailure #failure #mustBePresent #close #ok #DebuggingLog
#position #noClobber #Timestamp #clientStreams #commit #open #wait
#HTTPClient #isWriteable #clobber #CR #TFTPCorrespondent #temporaryFailure
#HTMLParser #tellMeMore #RandomNumberStream #Expression #binaryness #write
#read #CrLf #TimeStamp)
>
> I don't have time at the moment
I know this problem ;-)
> to investigate the restart problem you
> mentioned,
This is not my primary problem, ...
> but I expect I will next week. (And it looks like you solved
> your >>echoBytes problem via tweaking your platform environment.)
...but this:
Socket performExamples
definitely doesn't work for me. It fails in
TCPSocket class(Socket class)>>echoBytesOn:
(as shown in the debugLog in the mail with the debugLog ;-) ). I think a
part of the error is at the ST side (at least error handling).
>
> As for >>userAgentString being undefined in
>
>>>httpGetDocument:args:accept:request: and friends in (HttpSocket class), it looks like the 3.3a patch "4776xTPfixes-hg" slipped into my integration by mistake. The point of my changes to those methods was to use 'self initializeNetwork' instead of 'Socket initializeNetwork' (to free up the "Socket" class name :). The simplest thing to do at the moment is probably to just add >>userAgentString; I've included it below for convenience.
>>
This patch works.
>
> Further discussion should probably happen over at the Flow list; please
> join if you'd like to converse there.
I'll limit further discussion to there for the time beeing.
Greetings,
Stephan
>
>
> thanks!
>
> -C
>
> ***
>
> !HTTPSocket class methodsFor: 'utilities' stamp: 'hg 2/11/2002 11:31'!
> userAgentString
> "self userAgentString"
>
> ^'User-Agent: ',
> SystemVersion current version, '-',
> SystemVersion current highestUpdate printString! !
>
> ***
>
> --
> Craig Latta
> improvisational musical informaticist
> craig(a)netjam.org
> www.netjam.org/resume
> Smalltalkers do: [:it | All with: Class, (And love: it)]
>
>
--
Stephan Rudlof (sr(a)evolgo.de)
"Genius doesn't work on an assembly line basis.
You can't simply say, 'Today I will be brilliant.'"
-- Kirk, "The Ultimate Computer", stardate 4731.3
Hi--
Alrighty then... I just released Flow 2 alpha 1, a streaming framework
for Squeak. It provides a handy interface for manipulating external
resources of various stripes, and for writing services that use them
(e.g., "clients and servers"). Please see http://netjam.org/flow for
details.
This release features:
- greatly simplified installation
Download a ZIP file and file-in the sole file within. After
installation you're ready to go; you don't need to build a new VM or
even restart your running Squeak. I've only tested this with the Squeak
3.2 final snapshot. For the next release, I'll test with subsequent
updates loaded.
- socket support (not new but worth mentioning :)
- filesystem support
- partial serial and parallel port support
- the basic framework for other planned transports (MIDI, digital audio,
IEEE 1394 ["FireWire"], IR)
I've tested on GNU/Linux, Windows 98SE, and WinCE. If you'd like to
help test on other platforms, please let me know! MacOS X should be
particularly straightforward, since it's allegedly FreeBSD underneath (I
don't have access to a Mac). There's a Flow mailing list; details are at
the website.
thanks!
-C
p.s.
As I recall, there used to be a "Squeak announcements" list. It doesn't
seem to be around anymore. Is it?
--
Craig Latta
improvisational musical informaticist
craig(a)netjam.org
www.netjam.org/resume
Smalltalkers do: [:it | All with: Class, (And love: it)]
Hi--
Okay, I've finished the testing I can do for Flow 2a... I got positive
results for:
- Linux 2.4.17, i686
- Windows 98SE
- WinCE 3.0.9348.9616
I got negative results for OpenBSD 2.8 and 3.1. I think there's a bug
in libc_r and/or the kernel that deadlocks when a child thread make a
blocking call to select(). There's a test server running on
netjam.org:9007 (a Linux machine). Visit it for a Zen moment. :)
I need volunteers to test on other platforms; please let me know if
you'd like to help. I'm putting the finishing touches on the release
bits.
thanks!
-C
--
Craig Latta
improvisational musical informaticist
craig(a)netjam.org
www.netjam.org
Smalltalkers do: [:it | All with: Class, (And love: it)]
Any progress?
I use Flow everyday, and I'm tired of modifying my
projects to use Socket before publishing them. Last
weekend started working on a VNC client, and I don't
really want to spend time making it work with Socket.
I love Flow, and I already said how much I'd like to
see it integrated into the official release. But I'll
be happy if at least NetStreams make it.
Is it possible (and reasonable) to modify the
ExternalStreams and ExternalResources in order to load
them in an image with the standard Streams? If we can
get NetStreams into the 3.3a image, the next step will
be removing Socket and refactoring FTPSocket,
HTTPSocket and SMTPSocket into FTPClient, HTTPClient,
and SMTPClient.
What do you think? If you like the idea, I offer my
spare time for anything you need to get this done.
Peace,
Luciano.-
=====
http://community.corest.com/~luciano
CCB0 B2B0 BCCB 8178 CA8B 4C08 AE9B D2F2 E9CC E897
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com