Do I miss something here? I have several server sockets on several ports for years in Gambas2...
Regards, Ron_2nd. 2010/12/28 Benoît Minisini <[email protected]>: >> > > >> > > That is not the issue, you can do that, but they all use the same >> > > socket_read sub. Or I my missing something here? >> > >> > Hem, you are right, I didn't notice. >> > >> > Internallly the Socket object knows which ServerSocket created it, but >> > you don't have any access to it! >> > >> > As a workaround, I think you can use the port number to make the >> > difference. >> >> I will look into that in the meantime. >> >> > Maybe I will make a "Server" property in the Socket class to get the >> > ServerSocket object creator. >> > >> > And I can add an optional argument to the Accep() method to define the >> > event name of the created socket. >> >> That would be great! Thanks. >> >> Regards, >> Joe1962 >> > > The Socket.Server property has been implemented in revision #3403. > > Regards, > > -- > Benoît Minisini > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
