Page 1 of 1

seeking tcpip info for qb45

Posted: Fri Oct 30, 2015 12:21 am
by iamdenteddisk
hi all, i am attempting to get back into basic using qb45, i remember doing tcpip using porttalk. i have porttalk installed but now need some info on how to writ a simple messenger or bbs program..

if you can only get me to a simple working program I can fix up that would be fine to. i just need example on how to pass in and out to port really..
i'm using wifi on a laptop, I have just a few goals to reach. i want to make a simple bbs network server in qb4.5 would love to go further
would appreciate any help..

funny thing is i was good at this not long ago but confused my memory of it working with qb64..

Re: seeking tcpip info for qb45

Posted: Fri Oct 30, 2015 12:45 pm
by burger2227
I used to use PortTalk for LPT and COM ports with QB, but never tried it on a network port.

Here is some info about ALLOWIO which must be run first:
http://retired.beyondlogic.org/porttalk/porttalk.htm

I have not messed with this stuff in a long time either!

Re: seeking tcpip info for qb45

Posted: Sat Oct 31, 2015 6:32 am
by iamdenteddisk
thanks a ton cl...berger2227, you all ways seem to stay on top of this stuff..don't know how you do it but thanks!

Re: seeking tcpip info for qb45

Posted: Sun Nov 01, 2015 1:33 pm
by burger2227
Yeah, you have to call the Qbasic EXE programs with AllowIO to get he ports open. I used a BAT file usually.

Let me know how it works. Never tried anything but LPT and COM ports with it.

Re: seeking tcpip info for qb45

Posted: Sun Nov 01, 2015 10:35 pm
by iamdenteddisk
are you willing to share a copy of that bat just so i can see the syntax?
i seen the one for loading to quick C but IDK if it's anywhere close to the same. just now hitting stride programming up. would love to fire it up soon for a trial test..

i want to try to push a network out with the experimental antenna i built. I think i shared that here before but if i can get that working im gonna try to host a bbs on a vm from my server and connect to it from my laptop for myself. if internet goes down for "any reason" at least anyone with the bbs software in my area will have connection. I pick up the mcD's in town about 5-8 miles away with it so i hope it can serve the network that far also. trying to host bbs,downloads from the net plus access my isp connection. pretty far fetched concept I know but i want to try it. killing time anyway it's good to be back in my element with qb.. Atm im not even hating galleone any more :lol: so it's having a good effect..

Re: seeking tcpip info for qb45

Posted: Mon Nov 02, 2015 11:21 am
by burger2227
Here is the batch code i used for one compiled QB program called PPort.exe:

Code: Select all


@echo off
echo. 

REM Select your parallel port from 3 below:

REM allowio COM1OPEN.EXE 0x3F8 /AH

Allowio PPort.exe 0x378 /AH

REM Allowio PPort.exe 0x278 /AH

REM Allowio PPort.exe 0x3BC /AH

pause
Its a good idea to use the port number if you have it as not including the port address opens everything and could cause problems, but I don't recall any serious problems.

The QB program uses PEEK to read the appropriate parallel port in this instance.

Re: seeking tcpip info for qb45

Posted: Mon Nov 02, 2015 8:39 pm
by iamdenteddisk
thanks so much man, i just had no idea the exact syntax to use for this. plenty of experience with both qb and batch but it has been a few years so its all a foggy magic cloud and hard to attain. i found in the last few days. it's like i see those little confusing topics I usually had to seek months to answer, arise as new obstacles again. but I remember getting past them before or sometimes just where the answer was found, almost everything comes back into memory with an "ah ok, now i remember".. I tell you though the code examples here and petesqbsite.com front page and qb45.com are all keen tutorials. as well as your qbasics prog.. your a brilliant wizard in creating that, you will always have access to the language for that reason alone!

still wish all the great code examples weren't still horded up like it's the baby's milk, because as we seen with the qb64 project, qb is still a very viable and useful language to many, code examples are the bread and butter to learning to use the language correctly.

thanks again! :D

Re: seeking tcpip info for qb45

Posted: Mon Nov 02, 2015 9:24 pm
by burger2227
Actually I forgot all about PortTalk until you brought it up... have fun!

QB64 is now going to try to make Android programs again. Galleon is getting things together.

http://www.qb64.net/wiki/index.php/Android_Project

Re: seeking tcpip info for qb45

Posted: Thu Nov 05, 2015 3:58 am
by iamdenteddisk
hope that works out, wish i was still in that group and none of the bad ever happened. IDK why he had to hate me for defending the forum from those who wanted to make trouble but that is how it went..

i mean if he had read the forum at all he could have seen my daily attendance for over 7 yrs, defending the forum members and even trying to contribute to the project and content.. still a tone of my programs there.. IDK man what it was but that kid who went by the name hacker was trouble i just was trying to defend us members from his vile spew and the view people had who visit to see such stuff..

is he still there?

miss all the stuff we talked about and that old wood chuck garry and oldos.. dont see much from him on here now either..
has the project gotten any less library dependent since that steve guy was made a developer?

just lots of questions in my head about that all still..

Re: seeking tcpip info for qb45

Posted: Thu Nov 05, 2015 8:10 am
by burger2227
Who is he? A Free Basic troll? I never knew you were banned.

Garry and OlDOS have not been around at all lately. Garry was working in Oklahoma, a slave state. He may have gone back to Mexico.

Re: seeking tcpip info for qb45

Posted: Thu Nov 05, 2015 8:49 am
by iamdenteddisk
troll i 100% aprove of the species as to if he came from there IDK..but he was the reason for the whole thing to explode, in short he was making trouble i actually think against oldos, i spoke up for him and sent email to galleone about it. when galleone came to deal with the issue, things where reversed in his head for some reason and he pounced on me. when i objected to the beating it just got nastier.. a year ago i logged back in just to read the board and he pounced again still treating me as the bad guy, when i never was.. i don't even remember the year it was now maybe 2010 or 2012, when i left debi's on the mountain and had surgery seems just a year or about past 9/11 it was..i remember like an elephant but date and time are not my strength..

Re: seeking tcpip info for qb45

Posted: Fri Nov 06, 2015 2:43 am
by bongomeno
This thread is very interesting.
I may just follow in your footsteps and try this PortTalk library.

On another note, it makes me sad to see drama in this community.
The QB community used to be very optimistic. It just isn't the same these days.
I am hoping my server project will bring new people together.

Re: seeking tcpip info for qb45

Posted: Sat Nov 07, 2015 12:48 am
by iamdenteddisk
your doing a server project also?

have you posted anything on it? would love to see links, how did you get it working? and stuff.
would love to make a free use public wifi network and then see it go nation wide freeware style..

Re: seeking tcpip info for qb45

Posted: Sat Nov 07, 2015 3:24 am
by bongomeno
That last post you replied on is a server.

Re: seeking tcpip info for qb45

Posted: Sat Nov 07, 2015 7:55 am
by iamdenteddisk
love the webpage there, i checked you out. what i am looking to do is first just getting the ability to do networking in qb/batch again. first with writing 2 simple messenger type interfaces. hopefully in both batch and quickbasic4.5. what i want to do from there is develop the messengers, into a more robust bbs or irc like interface to serve both intranet and internet if possible. but want to experiment with hosting pages also possibly virtually with VM. am also interested in using it with darkweb like meshnet project. would just like to see some type of public communication network, a fallback system like the outpost ham network perhaps even make a Morse code translation Tap/ham club started.

i like batch,qb,HTML and am trying to find a solution to allow all 3 languages to be part of the hobby experience.
i think it be great fun to serve a page with blog roll traffic counter and maybe even post public survey's to..data acquisition.
would be awesome to serve some qb games online to.

Re: seeking tcpip info for qb45

Posted: Fri Oct 18, 2019 12:21 am
by mikefromca
Here's your answer with source codes:

http://rubbermallet.org/software.html