[Gambas-user] Multiple TCP server sockets

Jose J. Rodriguez joe1962 at ...626...
Thu Feb 19 15:17:58 CET 2009


On 2/17/09, Benoît Minisini <gambas at ...1...> wrote:
> > Is there any way to get different TCP server objects with different
>  > ports to use a different socket object for read?  I am trying to port
>  > my VB6 multiport communications server application to Gambas2 and (I
>  > think) I need something like that to get it to work.
>  >
>  > Regards,
>  > Joe1962
>  >
>
>
> I would say yes. I see nothing that prevents from creating several
>  SocketServer objects.
>

That is not the issue, you can do that, but they all use the same
socket_read sub. Or I my missing something here?

Regards,
Joe1962




More information about the User mailing list