Page 1 of 1

IPBasic

Posted: Tue May 10, 2016 9:53 am
by Martin_Head
IPBasic is a SuperBASIC interface for the IP device driver as built into UQLX, QPC2, and Qemulator.

It allows SuperBASIC to access many of the features of the IP device driver which were previously only available to Assembler and 'C68' programmers.

It has been developed and mainly tested on QPC2.

Qemulator seems to have a 'cut down' version of the IP device driver. With a lot of the functions (and UDP connections) not implemented. But the main features of Binding ports, making and accepting connections, sending and receiving data, all seem to be there.

I have not been able to test it on UQLX. So I am not to sure how well it works on that emulator.

Martin Head

Re: IPBasic

Posted: Tue May 10, 2016 6:03 pm
by Ralf R.
Great! Though I do not know, why "IP_GETHOSTNAME$" gives an error in a QPC daughter SBasic.

You should send this to Marcel, maybe he find time to examine the QPC2 errors in various keywords.

It is bad, that the various emulators has such different TCP/IP implemantations.

Re: IPBasic

Posted: Tue May 10, 2016 7:02 pm
by Ralf R.
Marcel wrote to me, that that works.

Re: IPBasic

Posted: Wed May 11, 2016 9:38 am
by Martin_Head
Ralf R. wrote:Great! Though I do not know, why "IP_GETHOSTNAME$" gives an error in a QPC daughter SBasic.

You should send this to Marcel, maybe he find time to examine the QPC2 errors in various keywords.
It may just be an issue with with the old version of QPC2 that I use (Version 3.3 something)

Re: IPBasic

Posted: Fri May 13, 2016 6:19 pm
by ppe
Hey Martin,

great work! This is an extremely welcome wrapper around the socket library. Thank you very much for sharing this!

Cheers,
Petri