Subject | Re: Checking connection in advance to connecting |
---|---|
Author | georgethenorge |
Post date | 2005-07-04T14:13:48Z |
--- In firebird-support@yahoogroups.com, "Adam" <s3057043@y...> wrote:
isn't IBO leaking. Windows apps hang onto memory used in opening a
socket. It is a well known problem. I was just too close to the
problem to put two and two together.
George Helmke
> George,connect
>
> Are you saying that IBO has a memory leak of some sort in its
> routine? I don't use IBO, but I doubt this would be so. Perhaps youand
> could post some sample code that causes this leak to the IBO list
> they will tell you if you are not freeing something.see
>
> As far as your problem, as Helen suggested, by far the easiest and
> most reliable way to see if a connection exists is to connect and
> if it caused any exception. Of course you could use an indy clientto
> connect to port 3050 of the host machine for a similar test, but whyAt the risk of double-posting, I want to make the following clear: It
> use another library to do a job which won't be as thorough?
>
> Adam
isn't IBO leaking. Windows apps hang onto memory used in opening a
socket. It is a well known problem. I was just too close to the
problem to put two and two together.
George Helmke