Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 16 total
Thread Search for EDB Servers ?
Wed, Jan 12 2011 11:45 PMPermanent Link

Robbie Fletcher

Is there any method to broadcast a message to search for any active EDB servers on the network and return the IP addresses?  Such as:

TEdbSession.FindServers(sl : tstrings; timeout : integer)

Rob
Thu, Jan 13 2011 6:31 PMPermanent Link

Steve Gill

Avatar

Hi Rob,

> Is there any method to broadcast a message to search for any active EDB servers
> on the network and return the IP addresses?  Such as:
>
>TEdbSession.FindServers(sl : tstrings; timeout : integer)
>
> Rob

AFAIK there is no method to do this, however, it would be a great feature.

Regards,

Steve G
Fri, Jan 14 2011 4:46 AMPermanent Link

Malcolm Taylor

I would second this - with the addition of a hostname or other
user-friendly description.

At the moment I use file sharing (P2P) of the local database and
implement the feature by running a UDP Client and UDP Server on each
instance of my app.  Users have an 'Act as server' checkbox and if
checked their instance of the app will reply to a broadcast request
with its hostname and IP allowing the 'requester' to populate a radio
group with a list of 'published' servers.
Quick and user friendly.  
I use UDP for other things so it is there anyway.
But in the normal case, UDP will only work on a Class C subnet unless
you start customising your routers.

Malcolm
Wed, Jan 19 2011 12:33 PMPermanent Link

Robbie Fletcher

Bump...

Robbie Fletcher wrote:

Is there any method to broadcast a message to search for any active EDB servers on the network and return the IP addresses?  Such as:

TEdbSession.FindServers(sl : tstrings; timeout : integer)

Rob
Wed, Jan 19 2011 7:01 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Robbie,

<< Is there any method to broadcast a message to search for any active EDB
servers on the network and return the IP addresses?  Such as: >>

Not yet, but I'm adding it shortly.  The next build of EDB will also include
a built-in web server in the EDB Server so that you can configure/start/stop
a server via a browser.

--
Tim Young
Elevate Software
www.elevatesoft.com
Wed, Jan 19 2011 11:18 PMPermanent Link

Jan Ferguson

Data Software Solutions, Inc.

Team Elevate Team Elevate

What a tease! That's a great feature!! Can't wait for it.

--
Jan Ferguson


Tim Young [Elevate Software] wrote:

> The next build of EDB will also
> include a built-in web server in the EDB Server so that you can
> configure/start/stop a server via a browser.
Thu, Jan 20 2011 12:16 AMPermanent Link

Robbie Fletcher


Awesome.  Great news.  EDB Rocks.

Rob


"Tim Young [Elevate Software]" wrote:

Robbie,

<< Is there any method to broadcast a message to search for any active EDB
servers on the network and return the IP addresses?  Such as: >>

Not yet, but I'm adding it shortly.  The next build of EDB will also include
a built-in web server in the EDB Server so that you can configure/start/stop
a server via a browser.

--
Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jan 20 2011 4:48 PMPermanent Link

Steve Gill

Avatar


Hi Tim,

<< Not yet, but I'm adding it shortly.  The next build of EDB will also include
a built-in web server in the EDB Server so that you can configure/start/stop
a server via a browser. >>

Ooooh, nice.  Looking forward to these.

SteveG
Mon, Jan 24 2011 5:57 AMPermanent Link

Jan Ferguson

Data Software Solutions, Inc.

Team Elevate Team Elevate

Tim,

Did you mean next *Build* or next *Version* ? I was like a kid at
Christmas when you released v2.05 B2 yesterday but can't find anything
regardng this.
--
Jan Ferguson


Tim Young [Elevate Software] wrote:

> Not yet, but I'm adding it shortly.  The next build of EDB will also
> include a built-in web server in the EDB Server so that you can
> configure/start/stop a server via a browser.
Mon, Jan 24 2011 3:29 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jan,

<< Did you mean next *Build* or next *Version* ? I was like a kid at
Christmas when you released v2.05 B2 yesterday but can't find anything
regardng this. >>

My apologies - I ran out of time on this feature and had to get the build
out to fix some replication issues.  If you look in the new
edbutilcompsdesign.dpk package that is now shipped with the ElevateDB
Additional Software and Utilities in the \utilcomps subdirectory, you'll see
a TEDBWebServer component.  It works perfectly as a web server that can
serve up dynamic resources, but isn't hooked into the ElevateDB Server yet,
and the ElevateDB Server doesn't generate any of the HTML. Frown

If you're curious, you can test it out by dropping a TEDBWebServer on a form
and then adding an event handler for the OnResource event like this:

function TForm1.EDBWebServer1Resource(Sender: TObject;
 Thread: TEDBHTTPServerThread; const HostName,
 ResourceName: String): Boolean;
begin
  Thread.SendContent('Hello World');
  Result:=True;
end;

Then just set the Active property to True.  You might have to change the
Port property from 80 to 8080 or something similar if something else like
Skype is already listening on that port.  Just make sure to use the new port
in the request:

http://localhost:8080

--
Tim Young
Elevate Software
www.elevatesoft.com
Page 1 of 2Next Page »
Jump to Page:  1 2
Image