Re: TCP (or UDP) daytime client in Smalltalk

2020-06-06 Thread s...@pandora.be
It works ! Thanks for your help: Assuming that the old 'legacy' daytime stream server runs on tcp port 13: $ gst daytime.st Loading package ObjectDumper Loading package Sockets 'Sat Jun 6 10:30:16 2020' $ cat daytime.st Eval [ PackageLoader fileInPackage: 'Sockets'. s _ Sockets.Socket

Re: TCP (or UDP) daytime client in Smalltalk

2020-06-04 Thread Derek Zhou
s...@pandora.be writes: > The docs have an incorrect reference: > > https://www.gnu.org/software/smalltalk/manual/html_node/Network-support.html#Network-support > > if you click on " Network programming with Sockets " that link is broken. Use the locally install docs. And most likely you need

Re: TCP (or UDP) daytime client in Smalltalk

2020-06-04 Thread s...@pandora.be
The docs have an incorrect reference: https://www.gnu.org/software/smalltalk/manual/html_node/Network-support.html#Network-support if you click on " Network programming with Sockets " that link is broken. I've tried the following: Eval [ PackageLoader fileInPackage: 'Sockets'. PackageLoader

Re: TCP (or UDP) daytime client in Smalltalk

2020-05-29 Thread Davide Grandi
... and if you look at the email's headers you'll see : > List-Id: Users mailing list for the GNU Smalltalk environment > List-Unsubscribe: , > List-Archive:

Re: TCP (or UDP) daytime client in Smalltalk

2020-05-29 Thread bill-auger
John - my guess is that you are subscribed to the GNU smalltalk mailing list https://lists.gnu.org/mailman/listinfo/help-smalltalk

Re: TCP (or UDP) daytime client in Smalltalk

2020-05-29 Thread John Sellers
Why am I getting these emails? On Fri, May 29, 2020, 5:59 AM Derek Zhou wrote: > s...@pandora.be writes: > > Is there a way to load the NetNameResolver class in GNU smalltalk please > ? > > > > Or is there an example of TCP/IP (TCP or UDP) NetClient programming with > gst ? > > gst ships with a

Re: TCP (or UDP) daytime client in Smalltalk

2020-05-29 Thread Derek Zhou
s...@pandora.be writes: > Is there a way to load the NetNameResolver class in GNU smalltalk please ? > > Or is there an example of TCP/IP (TCP or UDP) NetClient programming with gst ? gst ships with a sockets library; please check the included info page. The documentation is scant; you may have

TCP (or UDP) daytime client in Smalltalk

2020-05-28 Thread s...@pandora.be
that the binary can be installed without configure+make install. As a test, I would like to create a simple "TCP" or "UDP" daytime client in Smalltalk. In Squeak (a different Smalltalk implementation) the following code works: | r s addr | addr := NetNameResolver addressFromString:'192.1