Read TCP/IP port

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
John_Schofield
Full Member
Posts:36
Joined:Tue Mar 18, 2003 3:04 am
Location:Lancashire, UK
Contact:
Read TCP/IP port

Post by John_Schofield » Sun May 18, 2008 12:51 am

Hi

I need to write a short program which connects to and then listens for data which will be streamed on a tcp/ip port.

The port will be either port 10000 or 10200 on a locally networked computer (lets's say 192.168.1.199)

Does anyone have any experience of setting this sort of program up assuming it's possible in Quickbasic (I use both 4.5 and 7.1)? I also have Powerbasic CC but not really started on programming with that yet.

For information, the data which will be read will be rfid chips passing over an antenna.

Any help would be appreciated.

Mike Chambers
Newbie
Posts:4
Joined:Wed Sep 27, 2006 3:45 am
Location:St. Louis, MO
Contact:

Post by Mike Chambers » Wed Jun 04, 2008 3:36 am

yes, actually i've put together a full set of TCP/IP routines for QB4.x and 7.1

http://www.rubbermallet.org

go to the "TCP/IP programming" section there, and download ntcpqb11.zip

just remember, it HAS to be run in a real DOS environment with a packet driver and the trumpet TCP stack. it will not work under windows, unless you set up a virtual machine in vmware/qemu/etc

i created these routines initially to write an IRC client for an old 8088 computer i have, but they can really be used for any TCP-related application. i've used the routines to make HTTP servers, IRC servers, FTP servers/clients, AIM client, and all kinds of other stuff.
DOS networking information

http://www.rubbermallet.org

John_Schofield
Full Member
Posts:36
Joined:Tue Mar 18, 2003 3:04 am
Location:Lancashire, UK
Contact:

Post by John_Schofield » Wed Jun 04, 2008 10:36 am

Hi Mike

Thanks for the reply but you've totally lost me there! Can you explain where to find and how to ensure the programs you refer to can be found? Are you saying you need to start up only in dos and not in Windows with DOS window?

Cheers

Post Reply