[Gambas-user] Socket not working in 2.8
Ron
ron at ...1740...
Sun Oct 4 16:30:26 CEST 2009
nospam.nospam.nospam at ...626... wrote:
> On Sun, 2009-10-04 at 16:11 +0200, Benoît Minisini wrote:
>
>
>>> I upgraded to 2.16 and still have the problem. MySock_Read doesn't fire.
>>> There is an NNTP server on 192.168.1.8:5000 that sends back a greeting
>>> when the connection is made by the client. The server logs also indicate
>>> that no connection was made.
>>>
>>> PRIVATE MySock AS Socket
>>>
>>> PUBLIC SUB Form_Open()
>>> MySock = NEW Socket
>>>
>> You must write:
>>
>> MySock = NEW Socket AS "MySock"
>>
>
> HA! You're a genius. That fixed it. Thank you.
>
>
>
LOL thats what I wrote a few msg back... reading is so difficult.
More information about the User
mailing list