IP Network driver

Anything QL Software or Programming Related.
User avatar
tofro
Font of All Knowledge
Posts: 3112
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: IP Network driver

Post by tofro »

Martin,
I could also help testing the driver, on uqlx or QPC2 on a routed network.

If it is TCP, and working in a switched home setup, I see no reason though why it shouldn't work in a routed network.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Martin_Head
Aurora
Posts: 973
Joined: Tue Dec 17, 2013 1:17 pm

Re: IP Network driver

Post by Martin_Head »

Thanks for the response. I've attached a copy of the driver here.
tofro wrote: If it is TCP, and working in a switched home setup, I see no reason though why it shouldn't work in a routed network.
I also see no reason why it should not work on other networks, Unless I have picked the wrong port numbers to use (5800 & 5802) and it causes some clash.
swensont wrote:I will need some instructions on setting up the driver and testing it out.
There is a readme with the driver to get you started, Basically just LRESPR it and set your network number with IP_ADDR. Like IP_ADDR "192.168.0.5" As far as the QL is concerned, this will set your network station number to 5. Then just use the normal QL & TK2 Network commands.


For anyone else that wants to try the driver, please bear in mind that this is not a release version, and may (most likely will) still have some bugs.

Martin Head
Attachments
IPNET.zip
(5.58 KiB) Downloaded 154 times


User avatar
tofro
Font of All Knowledge
Posts: 3112
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: IP Network driver

Post by tofro »

Martin,

I'll give it a go on the week-end.

Here https://de.wikipedia.org/wiki/Liste_der ... rten_Ports

is a nice list of well-known IP port numbers - And 5800/tcp seems to be taken already by by the VNC desktop sharing protocol (which is not too uncommonly used, I tend to use it in my home network for remote maintenance of computers)

Regards,
Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
swensont
Forum Moderator
Posts: 325
Joined: Tue Dec 06, 2011 3:30 am
Location: SF Bay Area
Contact:

Re: IP Network driver

Post by swensont »

Martin,

I've tried the driver on two systems running SMSQmulator. One running 2.16 and the other 2.17. On both when I try to LRESPR the netdriver_cde file, I get "not found". Have you tried it with SMSQmulator?

Tim


bixio60
Brittle Membrane
Posts: 116
Joined: Sun May 04, 2014 7:05 am

Re: IP Network driver

Post by bixio60 »

swensont wrote:Martin,

I've tried the driver on two systems running SMSQmulator. One running 2.16 and the other 2.17. On both when I try to LRESPR the netdriver_cde file, I get "not found". Have you tried it with SMSQmulator?

Tim
Same error here using Smsqmulator.
I think it is an issue opening the TCP_ channel in SMSQmulator. Wolfgang, i think, does not read the forum and he should be addressed in ql-user mailing list.
I will test the driver starting from tomorrow when i will be back home using QPC
Ciao
Fabrizio


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

Re: IP Network driver

Post by Martin_Head »

swensont wrote:Martin,

I've tried the driver on two systems running SMSQmulator. One running 2.16 and the other 2.17. On both when I try to LRESPR the netdriver_cde file, I get "not found". Have you tried it with SMSQmulator?

Tim
I've not tried it. I just had a quick look at the SMSQmulator web page http://www.wlenerz.com/SMSQmulator/version.html
V2.06 mentions an IP driver. Is this the same one as in QPC2? It says No SCK support and my driver does open SCK_ channels. It also says "implements "TRAP9" for TCP/IP sockets", my driver does not use Trap 9's. They are all Trap 2's & 3's.
tofro wrote:And 5800/tcp seems to be taken already by by the VNC desktop sharing protocol (which is not too uncommonly used
OK, So I'm open to suggestions for suitable ports...

Martin Head


User avatar
tofro
Font of All Knowledge
Posts: 3112
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: IP Network driver

Post by tofro »

Martin_Head wrote: I've not tried it. I just had a quick look at the SMSQmulator web page http://www.wlenerz.com/SMSQmulator/version.html
V2.06 mentions an IP driver. Is this the same one as in QPC2? It says No SCK support and my driver does open SCK_ channels. It also says "implements "TRAP9" for TCP/IP sockets", my driver does not use Trap 9's. They are all Trap 2's & 3's.
From that description, I think we can be pretty sure that this is a different thing than QPC2 and uqlx's network driver. So I doubt it would run with SMSQMulator.
Martin_Head wrote:
tofro wrote:And 5800/tcp seems to be taken already by by the VNC desktop sharing protocol (which is not too uncommonly used
OK, So I'm open to suggestions for suitable ports...
After 30 years of TCP/IP, it is unlikely you will find port numbers that are entirely unused. If you pick something from the list that is not officially reserved and also unlikely to clash (ideally, because the port is marked to be used by large server software in the table and running QPC2 on a large commercial web server shouldn't be too common....), I guess 7001/7002 would be one of the very many acceptable candidates (marked as inofficially used by BEA WebLogic Web Server).


Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Martin_Head
Aurora
Posts: 973
Joined: Tue Dec 17, 2013 1:17 pm

Re: IP Network driver

Post by Martin_Head »

Well there's been no reports of problems.... So I've attached a release version 1.00 here.

It just has the ports used, changed to 7001 & 7002. The ReadMe has been updated with an edited version of the Took Kit 2 Network section. And I have also included a ROMable version of the driver.

I found out why FSERVE has problems in Qemulator. One of the IP commands (IP_ACCEPT) behaves differently between QPC2 and Qemulator. In QPC2 the command returns immediately if no one is trying to make a connection, but in Qemulator it waits until a connection is made. Hence the emulated QL in Qemulator stops, and it also seems to hang Qemulator itself, until a connection is made.

And at the moment I can't think of a way around the problem.

Martin Head
Attachments
IPNet.zip
(12.03 KiB) Downloaded 135 times


Ralf R.

Re: IP Network driver

Post by Ralf R. »

Great, thanks a lot. Just wondering, why SMSQmulator uses a different way.


Derek_Stewart
Font of All Knowledge
Posts: 4730
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: IP Network driver

Post by Derek_Stewart »

Hi,

Try posting the message in the QL-USERS mailing List, were Wolfgang will answer your questions.


Regards,

Derek
Post Reply