Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!purdue!haven.umd.edu!cs.umd.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!howland.reston.ans.net!xlink.net!ins.net!heeg.de!gustav!hmm
From: hmm@gustav (Hans-Martin Mosner)
Subject: Re: VW 2.0 Support for Sockets
Message-ID: <DD17Dr.FwL@heeg.de>
Sender: uucp@heeg.de
Organization: Georg Heeg Objektorientierte Systeme, Dortmund, FRG
X-Newsreader: TIN [version 1.2 PL2]
References: <4085jv$mm0_001@glenvan.glenayre.com>
Date: Wed, 9 Aug 1995 06:58:38 GMT
Lines: 26

Mike Patrick (mpatrick@vancouver.glenayre.com) wrote:
: I am looking at using sockets.  The release notes for VW 2.0 say it is 
: supported on "Windows, Windows NT and OS/2".  I would be happy with Windows or 
: Windows/95 for now but will be moving to Windows/NT soon.

: Information on how to use sockets in the VW external documentation is as 
: scarce as hens teeth.  I would guess that it is implemented in some of the 
: "*Unix*" classes but again, these are not well documented.

: I would appreciate hearing from anyone who has successfully (or 
: unsuccessfully) done this.  I first need to know if it is do-able and then I 
: need some guidance on how to do it.

Actually it's really easy.  File in the socket.st code in directory 'utils'.
The class SocketAccessor has both documentation and examples.
This should get you started.
Of course, it helps if you have a basic understanding of the concepts of
sockets, otherwise some of the socket operations won't make much sense...

Hans-Martin

--
+--- Hans-Martin Mosner -------- Senior Smalltalk Guru ---+
| These opinions are entirely ficticious.  Any similarity |
| to real opinions is purely coincidental and unintended. |
+--- <hmm@heeg.de> ------ URL:http://www.heeg.de/~hmm/ ---+
