WinAos networking: patch available
Hi everybody, in the Windows Oberon versions the Winsock built-in asynchroneous networking was used because the single threaded system would have been blocked by waiting for connections or new data to arrive. In the first versions of WinAos, this has been maintained. In the recent version of WinAos, we switched to synchroneous networking, because asynchroneous tasks can easily be provided with active objects. Furthermore, synchroneous networking proved to be much more reliable and faster, at least in the ways that I have implemented/adapted them for WinAos. Still, in the recent version of WinAos a trick was used to provide the Available() procedure. Fortunately, Edgar Schwarz gave me some useful hints concerning ioctlsocket (etc.) and we could therefore get rid of the circumstantial way of using buffers for sending and receiving while Windows has its own network buffers. I think that networking under WinAos is faster and more reliable now. I will provide a new version of WinAos some time later but for those on the edge: You can download the two needed modules Win32.WSock32.Mod and Win32.AosTCP.Mod from the webpage http://bluebottle.ethz.ch/WinAos (or equivalently http://www.winaos.de ) All the best, Felix.
Felix Friedrich wrote:
Fortunately, Edgar Schwarz gave me some useful hints concerning ioctlsocket (etc.) and we could therefore get rid of the circumstantial way of using buffers for sending and receiving while Windows has its own network buffers. I think that networking under WinAos is faster and more reliable now.
Yes it is. Thank you Felix and Edgar for the patch. Now the VNC client didn't crash anymore in less the 1 minute, and more important for me, my application framework finally works in WinAos2.03. It rest the w2k problem, but Alex has already a solution, and we will sent it to you as soon as he will implement it over the new patch. He prepared other interesting things that you can integrate in the new version: - full functional File Manager - ODBC driver - Windows clipboard integration - full screen start (probably). It rest unresolved the PET problem that stores only small files. Thanks again, Dan Parnete
participants (2)
-
Dan Parnete -
Felix Friedrich