Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1196: Socket Lof returns 0 when data is available.

2017-10-05 Thread Benoît Minisini via Gambas-user

Le 05/10/2017 à 06:18, Tony Morehen a écrit :

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.


Please put your comment in the bugtracker.



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.




Logical, it's not the same problem. I have yet no idea why it does not 
attach the socket internally as it should do.


--
Benoît Minisini

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1196: Socket Lof returns 0 when data is available.

2017-10-05 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1196: Socket Lof returns 0 when data is 
available.
Date : Thu, 05 Oct 2017 13:20:55 GMT
De : bugtrac...@gambaswiki.org
Pour : tmore...@ajm-software.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1196&from=L21haW4-

Tony MOREHEN changed the state of the bug to: Fixed.



.


--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1196: Socket Lof returns 0 when data is available.

2017-10-05 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1196: Socket Lof returns 0 when data is 
available.
Date : Thu, 05 Oct 2017 13:21:24 GMT
De : bugtrac...@gambaswiki.org
Pour : tmore...@ajm-software.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1196&from=L21haW4-

Comment #2 by Tony MOREHEN:

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.




--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1195: ServerSocket.Attach() returns a Socket object that does not raise events

2017-10-05 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1195: ServerSocket.Attach() returns a Socket 
object that does not raise events
Date : Thu, 05 Oct 2017 21:20:17 GMT
De : bugtrac...@gambaswiki.org
Pour : tmore...@ajm-software.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1195&from=L21haW4-

Comment #2 by Benoît MINISINI:

It should be fixed in commit 
https://gitlab.com/gambas/gambas/commit/55a1701759bd29384079ad584aef8203f18686f5

Benoît MINISINI changed the state of the bug to: Fixed.




--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user