Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

initialization of TCP/IP sockets (ports) in Foxpro 2.6

Status
Not open for further replies.

orakama

MIS
Oct 27, 2004
10
KE
Hi,
Am in the process of developing an interface which is supposed to initialise or open a TCP/IP socket (port). can anybody provide sample syntax to do this in foxpro 2.6. any other tips will be welcome. Thanks guys.

Joseph
 
Hi dave,
the program we are running is developed in Fox 2.6. are there any possibilities here.

Joseph
 
Hi again Dave,
please supply sample code on how it can be achieved in VFP 7.

Thanks
 
Rick,

At the risk of stepping on Dave's response...
As far as I'm concerned, if you get the opportunity to help someone out before I get a chance to get back to the forum, they get an answer faster. I don't mind.

Joseph,
If you go to the "Microsoft: VFP -General Coding Issues" forum here:
and do a search on WinSock, you'll find many threads.

Also, follow the link in my signature and feel free to download some of the examples on my web site and take a look. You may find some of them useful.

As an option, you may be able to make a VFP COM server to relay messages back and forth from/to a table or file which can be read by Fox 2.x.

-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Dave,
Actually I knew that, I just forgot to add the :)! I agree that providing an answer (at the risk of disturbing the continuity) is always a good idea rather than leaving the questioner "hanging". I've occasionally had to be out of the office for a couple days and appreciate when someone has handled "my" messages.

Rick
 
Hi guys,
I finally decided to tackle the problem in VFP 8.
Can you help me out here
How to initialise the connection on a port (Server side)
how to read through that port
How to send through the same port.
prgs woould be really helpfull here.
Thanks
 
Have you gone to and searched the "Microsoft: VFP -General Coding Issues" forum as Dave suggested? Have you checked his web site?

Rick
 
This is a question better continued in the VFP forum. Unfortunately, there are not many examples of .prg based code.
There are some examples of usage with a form, and you are more than welcome to take a look at some of the examples I have on my website.
But post the question anyway, and I'm sure you'll get some good responses for .prg code.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top