[squeak-dev] Re: Winds of change
Göran Krampe
goran at krampe.se
Sun Feb 8 16:16:34 UTC 2009
Daniel Klein wrote:
> I've been struggling for 2 days trying to get a TCP client socket dialog
> with a telnet server. In VisualWorks, I would do something like:
[SNIP]
SocketStream is what you want, as you noticed too.
> I do notice the SocketStream has a HTTP example, but I don't think
> SocketStream is for TCP (I could be wrong, but there is no documentation
> either way).
It is definitely for TCP. I think the class comment says so.
[SNIP]
> Is this even possible in Squeak? Or do I have to load something else into
> the image?
No, just use SocketStream, easy. I wrote the current SocketStream code
so just ask. And also, it is heavily used in KomHttpServer etc so this
is code that works.
regards, Göran
More information about the Squeak-dev
mailing list
|