IPBasic

Anything QL Software or Programming Related.
Post Reply
Martin_Head
Aurora
Posts: 973
Joined: Tue Dec 17, 2013 1:17 pm

IPBasic

Post 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
Attachments
IPBasic.zip
(53.2 KiB) Downloaded 168 times


Ralf R.

Re: IPBasic

Post 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.


Ralf R.

Re: IPBasic

Post by Ralf R. »

Marcel wrote to me, that that works.


Martin_Head
Aurora
Posts: 973
Joined: Tue Dec 17, 2013 1:17 pm

Re: IPBasic

Post 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)


User avatar
ppe
Trump Card
Posts: 171
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

Re: IPBasic

Post 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


Post Reply