[Gambas-user] Socket Limitations
Kadaitcha Man
nospam.nospam.nospam at ...626...
Sun Jan 3 02:36:25 CET 2010
2010/1/3 Benoît Minisini <gambas at ...1...>:
> By default, Socket are in non-blocking mode (Blocking property set to False).
> So writing to it a big chunk fails. The bug is that instead of raising an
> error during the Write instruction, it fails silently.
>
> By having a blocking socket, your program works.
>
> So, two remarks:
>
> You should set the Blocking property to True in the Ready event.
I just tried it with a 94k file and it worked like a charm. Thank you.
More information about the User
mailing list