[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1196: Socket Lof returns 0 when data is available.
Tony Morehen
tmorehen at ...3602...
Thu Oct 5 06:18:01 CEST 2017
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 : bugtracker at ...3416...
> Pour : tmorehen at ...3634..., g4mba5 at ...626...
>
> 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
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list