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.
Read TCP/IP port
Moderators:Administrator, Global Moderator
-
- Full Member
- Posts:36
- Joined:Tue Mar 18, 2003 3:04 am
- Location:Lancashire, UK
- Contact:
-
- Newbie
- Posts:4
- Joined:Wed Sep 27, 2006 3:45 am
- Location:St. Louis, MO
- Contact:
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.
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
http://www.rubbermallet.org
-
- Full Member
- Posts:36
- Joined:Tue Mar 18, 2003 3:04 am
- Location:Lancashire, UK
- Contact: