Hello,

Today I started trying to play around with networking in Smalltalk.  I
thought I knew what I was doing, but apparently not.  I have a basic
understanding of the concepts involved with networking and working
with sockets, but have no experience programming with sockets.

Here is my session...

st> PackageLoader fileInPackage: 'Sockets'.
"Global garbage collection... done"
"Scavenging... 91% reclaimed, done"
Loading package Sockets
"Scavenging... 69% reclaimed, done"
"Scavenging... 47% reclaimed, done"
"Scavenging... 36% reclaimed, done"
returned value is PackageLoader
5991 byte codes executed
which took 0.064 seconds (0.056s user+0.008s sys)
479 primitives, percent 8.00
self returns 70, inst var returns 89, literal returns 14
124 method cache lookups since last cleanup, percent 2.07
53 method cache hits, 71 misses, 42.74 percent hits
st> s := Sockets.Socket remote: 'localhost' port: 60890.
stdin:3: Aborted
(ip 44)SocketAddress class>>#extractAddressesAfterLookup:
(ip 6)[] in SocketAddress class>>#allByName:
(ip 4)<unwind> BlockClosure>>#ensure:
(ip 48)[] in SocketAddress class>>#allByName:
(ip 4)[] in SocketAddress class>>#at:cache:
(ip 10)Dictionary>>#at:ifAbsent:
(ip 18)SocketAddress class>>#at:cache:
(ip 24)SocketAddress class>>#allByName:
(ip 16)SocketAddress class>>#byName:
(ip 10)Socket class(StreamSocket class)>>#remote:port:local:port:
(ip 18)Socket class(StreamSocket class)>>#remote:port:
(ip 10)UndefinedObject>>#executeStatements
(ip 0)<bottom>

Process gst aborted

What am I doing wrong?

Thanks,
Aidan



_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to