Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1196: Socket Lof returns 0 when data is available.
Brought to you by:
gambas
|
From: Tony M. <tmo...@aj...> - 2017-10-05 04:18:36
|
That fixes both polling and events. Great work. and quite the turnaround! The change makes sense. I read the original code as testing the actual, physical socket while the revised code effectively tests a virtual socket with responses buffered to the stream. Unfortunately, the fix does not affect the no events problem I have in the serversocket class. In the ClsServer.class of gbDummyImapServer, the Socket_Read event is only triggered when line 35, the Object.Attach() line is included. Comment out that line and Socket_rRead is never called. On 2017-10-04 10:46 PM, Benoît Minisini via Gambas-user wrote: > > > -------- Message transféré -------- > Sujet : [Gambas Bug Tracker] Bug #1196: Socket Lof returns 0 when data > is available. > Date : Thu, 05 Oct 2017 02:46:26 GMT > De : bug...@ga... > Pour : tmo...@aj..., g4...@gm... > > http://gambaswiki.org/bugtracker/edit?object=BUG.1196&from=L21haW4- > > Comment #1 by Benoît MINISINI: > > Does commit > https://gitlab.com/gambas/gambas/commit/e02d02880660eb796d60ca6b0d32fbf08bf9eb8f > make Lof() work correctly on Sockets? > > Benoît MINISINI changed the state of the bug to: NeedsInfo. > > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gambas-user |