Martin_Head wrote:EDIT - Sorry did not realise we had skipped over to another page....
From my experience of the IP drivers.
UDP connections don't work at all in Qemulator (you cannot even open them).
OK, good to know that before I even tried to tinker with that.
Martin_Head wrote:And you have to be careful with TCP connections when Qemulator is acting as the 'server' side, When you accept connections. It will effectively hang the emulator until the connection is actually made.
Good to be warned about that too, though in my case it was used simply as a client.
Martin_Head wrote:UDP connections in QPC2 are a bit flaky. And they don't like working bi-directionally. (which they are supposed to) So you tend to have to open two channels, one for each direction. Also I could never get SEND_TO and RECV_FROM to work. TCP connections seem to work OK though.
I noticed that in your writings, thanks.
Martin_Head wrote:Dilwyn - I assume you are using the full version of Qemulator, as the shareware one does not support the IP driver.
Yes I am, and TCP/IP was ticked in the configuration, and QemuLator was listed in the Firewall list of allowed programs.
What was interesting was that Minerva QDOS, Aurora/Gold Card SMSQ/E and QemuLator SMSQ/E all produced the same result (apart from the fact that both SMSQ/E's managed to print an error line number without a message) implying that whatever is happening is part of the emulator routines as opposed to the OS itself.
The OPEN#3,"tcp_..." statement worked OK. It was PRINT #3,... which failed. And without an error, the program just stopped.
ToFro did say that you had experienced some difficulties, so I didn't pursue QemuLator any further as QPC2 and SMSQmulator seemed to work fine.
Martin_Head wrote:If you want to receive blocks of data, you can use the IP_RECV function in my IPBasic package to read data straight into memory. It's not limited to 32K, and you can 'peek' the data without actually removing it from the queue.
That's good to know, although even without your code splitting up into smaller chunks at a time with something like INPUT$ is still a good deal faster than reading tens of K of data with INKEY$, as you might expect.
I'm only worrying about getting the basics working at the moment, just to document enough so that users have a couple of working examples of how to download an html page or email. Derek said he was doing a browser, html 5,flash, php, Javascript etc

(only joking Derek!)
At the moment, I'm sticking with "vanilla" BASIC to see what can be achieved so I can write up some simple basic documentation and examples. When the page goes live people will be able to see and use your material as well as mine, may as well make as much information available as possible in one go.