Since nobody else has replied I'll take a shot at it.

My guess is that you need to cast the value returned from
JBE_ServerSocket1.ActiveConnections to a JBE_TCPSocket.  I'm not sure how
you do that with an array, but you can try something like this

Dim ac() As JBE_TCPSocket
ac = JBE_ServerSocket.ActiveConnections
JBE_TCPSocket(ac(x)).SocketID = y

On 5/3/06, Jeff Edwards <[EMAIL PROTECTED]> wrote:
>
> Hi all!
>
> I added a property called SocketID to my subclass JBE_TCPSocket that has a
> superclass of TCPSocket
>
> I did this so I could keep track of which TCPSocket (created from
> JBE_ServerSocket . . .(also a subclass of serversocket)) was being
> used, so that I could get the properties and display them in a
> listobject.
>
> When I call the method JBE_ServerSocket1.ActiveConnections
> it returns an array of TCPSockets.  Each of these is a JBE_TCPSocket
> object type when displayed in the debugger, however, when I try to
> assign my socket id property, it complains of a type mismatch
> (actually it complains when I try to compile the project)
>
> How can I assign my property to my subclass of the TCPSocket?
>
> Thanks for your help
>
> Jeff Edwards
>
_______________________________________________
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