[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Problem with ServerSocket
From: |
Pupeno |
Subject: |
Re: [Help-smalltalk] Problem with ServerSocket |
Date: |
Mon, 23 Aug 2004 00:53:02 -0300 |
User-agent: |
KMail/1.6.2 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday August 22 2004 21:32, Lyndon Tremblay wrote:
> ...A normal Smalltalk debugger would be nice right about here, allowing you
> to see and examine and fix/quickfix it already (ie. what variable is
> nil/UndefinedObject here).
>
> Try "queue := TCP ServerSocket port: '3000' asNumber."
This line worked, the port was open, very nice :)
Why, then, didn't my line
queue := TCP ServerSocket port: 3000.
worked ?
Socket there's a class method called loopbackTest (in the tests cathegory)
that has this call :
queue := ServerSocket port: 54321 queueSize: 5 bindTo: nil.
and it works... well, it used to work, now, I tested it again and it gave me
this backtrace:
SystemExceptions.FileError(Exception)>>#signal
SystemExceptions.FileError class(Exception class)>>#signal:
File class>>#checkError:
File class>>#checkError
[] in TCP.TCPSocketImpl(TCP.AbstractSocketImpl)>>#bindTo:port:
[] in BlockClosure>>#ifCurtailed:
BlockClosure>>#ensure:
BlockClosure>>#ifCurtailed:
TCP.TCPSocketImpl(TCP.AbstractSocketImpl)>>#bindTo:port:
TCP.ServerSocket>>#port:queueSize:bindTo:
TCP.ServerSocket class>>#port:queueSize:bindTo:
TCP.Socket class>>#loopbackTest:
TCP.Socket class>>#loopbackTest
optimized [] in <no name>>>#Doit
<no name>>>#Doit
[] in Behavior class(Behavior)>>#evalString:to:ifError:
optimized [] in BlockClosure>>#valueWithUnwind
BlockClosure>>#ensure:
BlockClosure>>#valueWithUnwind
Behavior class(Behavior)>>#evalString:to:ifError:
Behavior class(Behavior)>>#evaluate:to:ifError:
BLOX.BLOXBrowser.PWorksheetText(BLOX.BLOXBrowser.PText)>>#doEval:ifError:
BLOX.BLOXBrowser.PWorksheetText>>#doEval:ifError:
BLOX.BLOXBrowser.PWorksheetText(BLOX.BLOXBrowser.PText)>>#eval
Thanks
- --
Pupeno: address@hidden - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBKWogfW48a9PWGkURAmGoAJ9iUBhPPQgaSZ6pUeMyhSRl+AqsXACgkFpU
XXpABlg7yg0rnrSi0Qho94I=
=vPjd
-----END PGP SIGNATURE-----