🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#3827
From: Daniel Stevenson
Date: Wed, 01 Jun 2005 01:09
22 lines
2067 bytes
> > it is this observation that makes me think that there is a problem
> > with permissions which is causing my socket connection to not
> > work.
>
> Sockets are not subject to most security permissions, that is what makes
> them very ideal for use in services.  I use TCP sockets in many of my own
> services and they have always worked fine regardless of the user account
> (albeit the account used for the service does need network rights in order
> to reach resources that are external to the machine).

This was my thinking as well which was why I chose TCPSockets, but I can't
think of why it is causing this problem.

I have done some more testing and I'm finding the following:

Service: Socket activates
App: Attempts to activate client socket
App: Receives socket error 1110 ("Unknown socket error")

When the service is installed under the same user account this all connects.
I know this is not very helpful but I'm stumped as to what could be causing
this problem.
Technical Details
Message-ID: <429d0ab2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed1.uni2.dk!news.net.uni-c.dk!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <429bfb58@newsgroups.borland.com> <429c1ee7$1@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: "Daniel Stevenson" <daniel@ocreage.com.au>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <429bfb58@newsgroups.borland.com> <429c1ee7$1@newsgroups.borland.com>
Subject: Re: Socket problems between application and service application when service installed under local system account
Date: Wed, 1 Jun 2005 11:09:05 +1000
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 202.174.233.53
Message-ID: <429d0ab2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117588146 202.174.233.53 (31 May 2005 18:09:06 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed1.uni2.dk!news.net.uni-c.dk!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail