Re: TIdUDPBase GetBinding

Giganews Newsgroups
Subject: Re: TIdUDPBase GetBinding
Posted by:  Remy Lebeau \(Indy Team\) (
Date: Tue, 18 Sep 2007

"Ulrich Doewich" <w…> wrote in message

> I'm trying to compile my application with the latest Indy build,
> however at some point GetBinding in TIdUDPBase seems
> to have been made abstract...

What is the actual error you are getting?  What does your code look like?
You should not be instantiating TIdUDPBase directly.  Use TIdUDPClient or
TIdUDPServer instead, which both override GetBinding().

> Do I have to provide my own GetBinding now?  If so,
> wouldn't I need access to FBinding?

In order to "provide your own" GetBinding(), you would have to derive a new
class from TIdUDPBase.  FBinding is a protected member, and thus is
accessible to descendants.



In response to

TIdUDPBase GetBinding posted by Ulrich Doewich on Tue, 18 Sep 2007