How to bind a listening socket to an address?

Andreas Raab andreas.raab at gmx.de
Mon Sep 1 19:48:24 UTC 2003


> unless JMM and/or AR asks me not to

Go for it and thanks!

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On 
> Behalf Of Ian Piumarta
> Sent: Monday, September 01, 2003 9:41 PM
> To: The general-purpose Squeak developers list
> Subject: Re: How to bind a listening socket to an address?
> 
> 
> Andreas Raab <andreas.raab at gmx.de> wrote:
> > > Total VM support code upheaval: 2 lines modified and 3 added.
> > Let's do it. Any contrary opinions?
> 
> David Farber <dfarber at numenor.com> wrote:
> > >Total VM support code upheaval: 2 lines modified and 3 added.
> > Could we /please/ get this into the stock VMs?!
> 
> Markus Fritsche <Fritsche.Markus at gmx.net> wrote:
> > I have to admit that I don't know how to do it - but if I knew it, I
> > would do it immediately :-)
> 
> The required primitive is now in my 3.6-beta9 Unix VMs, source and
> binaries, usual place.  (Sq-vm-powerpc.deb and Sq-full.dmg 
> archives will
> arrive in a little while: the first requires I reboot my Mac 
> into Debian
> and the latter requires 15 minutes of upload time on my DSL line.)
> 
> Attached: changesets for [Old]Socket (for some imagey person 
> to look at
> and fiddle with), SocketPlugin (for TPR's VMM plugins package), and a
> one-liner diff to platforms/Cross/plugins/SocketPlugin.h (which I will
> commit to SF within the next couple of hours, along with the 
> Unix support
> changes, unless JMM and/or AR asks me not to -- in any case, the extra
> declaration doesn't hurt even if the function behind it is absent,
> assuming your compiler and linker aren't totally broken).
> 
> It seems to work, although I could only test this code with OldSocket
> using a modifed version of my Socket 
> class>>remoteTestServerTCP method,
> from local vs. remote telnet sessions... :(
> 
> (Read: Some tests/examples in this new-fangled Socket class would be a
> Really Great Thing, g{uy,al}s, given that trivial mods of the 
> old examples
> methods don't seem to give good results).
> 
> Ian
> 



More information about the Squeak-dev mailing list