Qbasicnews.com
April 03, 2020, 07:44:38 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Internet server in BASIC  (Read 2349 times)
foxmulder4055
New Member

Posts: 4


« on: November 01, 2004, 03:31:11 PM »

Hi everyone,

I'm writing an Internet/communications server in QB. Believe it or not, its actually coming along smoothly and I'm doing this as a hobby in my spare time. Its sorta cross between the old KA9Q/FNOS software and the old Renegade BBS software. I plan to release it as open source when done. A website is being set up shortly where all of you can participate in its developement.

Its going to be sortof like the old BBS software, where you can login, post messages, download files and play door (MUD) games. Except that mine will host and serve web-based connections. The program is essentially a multi-tasker written in QB that serves many different ports at once. I'm also planning to do this without the use of winsock.dll or any other components. This is strictly going to be a DOS-based web server.

My problem is, I need a library or assembly-language source code that handles the actual network card inside the computer. Given that this is all DOS-based, its basically an interface between the network cards' TSR packet driver and QB itself. Any feedback or direction would be appreciated. There used to be an NIC libary floating around the 'net, now I can't find it anymore...

My goal is to have a fully-functional DOS web server that I can show off as exploiting the power of QB and what can *really* be done with it.  

*Nick*
Logged
Oz
I hold this place together
*****
Posts: 923



« Reply #1 on: November 01, 2004, 03:39:30 PM »

Googled  for Modem Routines for QB

I think if you check out Ralphs'(?....i think) QB site, he has some clever code for modem stuff......

Oz~
Logged
Oz
I hold this place together
*****
Posts: 923



« Reply #2 on: November 01, 2004, 03:54:20 PM »

VonGodric has reminded me about v1ctors' dsock qb lib.....definately worth using

Oz~
Logged
Plasma
Na_th_an
*****
Posts: 1770


WWW
« Reply #3 on: November 01, 2004, 04:31:05 PM »

I think you're looking for this.

DSOCK won't help here because it requires Windows.
Logged
foxmulder4055
New Member

Posts: 4


« Reply #4 on: November 01, 2004, 06:12:46 PM »

Quote from: "Plasma"
I think you're looking for this.

DSOCK won't help here because it requires Windows.


Thanks for your help. I'm looking at the Sniffer source code now and its a good start. Because my server is a full-blown multi-tasker, I'm going to need to write a full TCP/IP stack.  Shocked
Logged
foxmulder4055
New Member

Posts: 4


« Reply #5 on: November 01, 2004, 06:14:48 PM »

Quote from: "Oz"
Googled  for Modem Routines for QB

I think if you check out Ralphs'(?....i think) QB site, he has some clever code for modem stuff......

Oz~


Are you referring to Ralph Brown's Interrupt List? I have that already, and am looking to kinda narrow that down to the interrupts handled by an NIC packet driver. I did find sniffer.zip as per the other reply here and I'm going to start building on that, although I need the facilities of a full TCP/IP stack in my program.

*Nick*
Logged
Jonathan Simpson
Forum Regular
**
Posts: 140



« Reply #6 on: November 05, 2004, 06:42:51 AM »

I have a couple libs and QLBs here without docs, which I know are used for networking but other than that I have no information on them.  I inherited this stuff from the person who gave me my copy of PDS 7.1, and  much of it is stuff that he created.  Some of this might be helpful but I have no clue at all how to access the functions in these libraries so... well, I'll see if I can find out.

[edit]

Ok, so is there anyway to find out the functions and  parameters for an otherwise unknown library?  I have a net.lib and a net45.lib, presumably for QB 4.5 and QBX.

[edit]

I also located the following which might be useful, these are from the 1994 MSDN set, first disk, MSDOS folder.
http://return.no-ip.org/archive/TCPSDK.zip
http://return.no-ip.org/archive/TCPUTIL.zip

Hopefully either you or someone else can find a use for these.
Logged

onathan Simpson
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!