Page 3 of 3

Re: IP Network driver

Posted: Thu Mar 03, 2016 7:49 am
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

Re: IP Network driver

Posted: Fri Mar 04, 2016 11:46 am
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

Re: IP Network driver

Posted: Fri Mar 04, 2016 12:44 pm
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

Re: IP Network driver

Posted: Sat Mar 05, 2016 4:14 am
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

Re: IP Network driver

Posted: Sat Mar 05, 2016 7:48 am
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

Re: IP Network driver

Posted: Sat Mar 05, 2016 10:48 am
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

Re: IP Network driver

Posted: Sat Mar 05, 2016 11:05 am
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

Re: IP Network driver

Posted: Wed Mar 23, 2016 1:15 pm
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

Re: IP Network driver

Posted: Wed Mar 23, 2016 1:55 pm
by Ralf R.
Great, thanks a lot. Just wondering, why SMSQmulator uses a different way.

Re: IP Network driver

Posted: Wed Mar 23, 2016 8:37 pm
by Derek_Stewart
Hi,

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