On 3/7/06, Kraig Beahn <[EMAIL PROTECTED]> wrote:

> For the life of me, it wont compile or run. TCPSocket1 has a super of 
> TCPSocket.

Correct. StdIn and StdOut know how to convert to a TCPSocket, but not
to a TCPSocket1. The conversion operators return a new instance of the
class in question, and since the StandardInputStream and
StandardOutputStream don't know anything about your TCPSocket1, it
can't return an instance of it. The compiler catches this, and lets
you know it's a type-mismatch.

HTH,
Jon


--
Jonathan Johnson
REAL Software, Inc.

REAL World 2006, The REALbasic User's Conference
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to