Accessing TCP/IP packet driver from quickbasic in REAL dos mode

Hello. I have just recently set up an old 286 motherboard I had out of complete boredom. I cannot find any decent DOS IRC clients so I was going to program my own. I do know how to make an IRC client I wrote one in QB that has to be run from under windows you can look at it here http://dextrometh.com/cpirc.zip (still needs a bit of work like adding mirc color support, but it does already recognize bold text... it also has multiple log buffers for multiple channels, private messages etc)

Anyway, I would like to modify it so that I can use it in a real DOS environment with a TCP/IP packet driver like NTCPDRV.EXE or trumpet's driver. How would I go about this? I've seen a library written by the german guy, Sebastian.. But it does not send packets yet so I can't really use that.

What I'd really like to figure out is how to directly access the packet driver from pure QB code using interrupt calls. Anybody who can help PLEASE let me know! Thank you!!

I promise to post my code for the QB programmers out there to use if I am able to do it. :)

-Mike

Comments

  • Hi:

    You can find the packet driver specification in the following page:
    http://www.crynwr.com/packet_driver.html
    This page shows a list of the interrupts in order to use its functions
    via INTs.

    I'm studying that page because i'm interested too in develop an internet program for quick basic. My objetive is to make a simple
    Instant Messenger (using MSN Protocol) for MSDOS.

    Greetings...

    Joel Prez
  • hi, Joel! glad to see somebdoy working on something similar to what i'm doing. i'm making an IRC client for my 286. i already did make one, but it requires me to connect a serial cable from it to my regular desktop machine... then i wrote VB6 software to tunnel the data between the socket connection on the desktop and the serial cable. the client works great but i really want it to be standalone and work off the network card i have in the 286.

    i'll see what i can do with those packet driver specs. if you want to collaborate on this, my email address is half_eaten@NOSPAM.yahoo.com

    -mike chambers

    : Hi:
    :
    : You can find the packet driver specification in the following page:
    : http://www.crynwr.com/packet_driver.html
    : This page shows a list of the interrupts in order to use its functions
    : via INTs.
    :
    : I'm studying that page because i'm interested too in develop an internet program for quick basic. My objetive is to make a simple
    : Instant Messenger (using MSN Protocol) for MSDOS.
    :
    : Greetings...
    :
    : Joel Prez
    :

  • Hi mike!!

    How are you? First, I wish you a happy christmas!!

    I sent an email to you, but it gives an error (failure delivery).
    In that mail, I put a link to a site is working in a library to deal with packet driver in QuickBasic 4.5
    The URL is: http://www.uncreativelabs.net/programming/tcpip.php
    It has a simple example to connect to an IRC server, perhaps it will be useful for you (and me).

    Greetings...

    P.S.: I am from Argentina, Where are you from?

    Joel Perez

  • : Hi mike!!

    you talking to me? LOL

    :
    : How are you? First, I wish you a happy christmas!!
    :
    : I sent an email to you, but it gives an error (failure delivery).

    must be me.

    Since about 2004, I have been busy and not that much online.
    I have updated my email address today, so you can send me emails.

  • please this is a message board not an email service .so do not come here to importunate people.
    thanks for your understanding.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories