Re: multi threading/tasking?
- From: cj <cj@xxxxxxxxxxxxx>
- Date: Wed, 18 Jan 2006 09:19:29 -0500
TCP/IP I guess. I'm using Telnet to test the program. How does Telnet connect?
Paul wrote:
Christian Ehlscheid wrote:Hi,
that not going to be easy with pure VFP code, the problem is that VFP is single threaded.
A typical server application that can handle multiple connections at the same time normally has a main thread running which listens on a specified port and then spawns a new thread/ use a thread from a thread pool which will accept the connection request and handle it.
This cannot be programmed in pure VFP.
Not all servers work this way. There are plenty of (admittedly written in C) web servers that run as a single task.
Actually thinking about CJ problem it would probably be better/easier to use webservices. i.e. create a COM object in VFP and use IIS to handle the connections.
CJ: How will the clients be connecting? HTTP? Or are you using a proprietary protocol?
Any chance they're using XML to communicate? SOAP is really easy to handle in VFP...
.
- References:
- multi threading/tasking?
- From: cj
- Re: multi threading/tasking?
- From: Christian Ehlscheid
- Re: multi threading/tasking?
- From: Paul
- multi threading/tasking?
- Prev by Date: Re: multi threading/tasking?
- Next by Date: Re: how to transactions with Cursoradapters and sql
- Previous by thread: Re: multi threading/tasking?
- Next by thread: Re: multi threading/tasking?
- Index(es):