🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3835

Re: Socket problems between application and service application when service installed under local system account

#3835
From: Remy Lebeau (TeamB)
Date: Thu, 02 Jun 2005 02:54
14 lines
1743 bytes
"Daniel Stevenson" <daniel@ocreage.com.au> wrote in message
news:429e4802@newsgroups.borland.com...

> I was able to reproduce the error on my development environment,
> and it was caused by me assigning NULL to both Host and Address
> and only assigning a Port to the TClientSocket before opening the socket.

Yes, that would do it.  You cannot leave both the Host and Address
properties empty, or else TClientSocket has no way of knowing where it is
supposed to connect to.


Gambit
Technical Details
Message-ID: <429e74e0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <429bfb58@newsgroups.borland.com> <429c1ee7$1@newsgroups.borland.com> <429d0ab2@newsgroups.borland.com> <429d0c25@newsgroups.borland.com> <429d3355$1@newsgroups.borland.com> <429d4a14@newsgroups.borland.com> <429deb7c$1@newsgroups.borland.com> <429e4802@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,18a7896b72b8d882
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <429bfb58@newsgroups.borland.com> <429c1ee7$1@newsgroups.borland.com> <429d0ab2@newsgroups.borland.com> <429d0c25@newsgroups.borland.com> <429d3355$1@newsgroups.borland.com> <429d4a14@newsgroups.borland.com> <429deb7c$1@newsgroups.borland.com> <429e4802@newsgroups.borland.com>
Subject: Re: Socket problems between application and service application when service installed under local system account
Date: Wed, 1 Jun 2005 19:54:44 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <429e74e0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117680864 68.69.17.41 (1 Jun 2005 19:54:24 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail