Article View: borland.public.cppbuilder.internet.socket
Article #1624Re: Fixed :-) Great work
From: Quentin David Jones
Date: Fri, 08 Dec 2006 06:53
Date: Fri, 08 Dec 2006 06:53
46 lines
2857 bytes
2857 bytes
Indeed,
In future I will strive to carefully check all doco etc. before availing myself of your polite, patient and professional
help :-)
Q.
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:4579052c$1@newsgroups.borland.com...
>
> "Quentin David Jones" <quentin.jones@romteck.com.spamprotect> wrote in
> message news:4578fa92$1@newsgroups.borland.com...
>
>> I thought the service name was just a descriptive title - d'oh.
>
> Then I guess you didn't read the documention for the Service property yet:
>
>
> Service
> Specifies the name of the service for which the socket connection is
> used.
>
> __property System::AnsiString Service = {read=FService,
> write=SetService};
>
> Description
> Use Service to identify the use of the connection. Windows provides a
> number of standard service names such as ftp, http, finger, and time.
> Servers can specify additional services and their associated ports in a
> SERVICES file. For more information, see the Microsoft documentation for
> Windows sockets.
>
> Certain port numbers are reserved for specific values of service. Thus,
> Service provides a more meaningful way to specify the server Port to use for
> the socket connection. For server sockets, using Service rather than Port
> ensures that the server will listen for TCP/IP requests on the appropriate
> port.
>
> Note: Trying to change Service when the connection is open will raise an
> ESocketError exception.
>
>
> Gambit
>
>
Technical Details
Message-ID:
<45790ba0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!amsnews11.chello.com!newsfeed01.chello.at!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<4578ba1b@newsgroups.borland.com> <4578bc9c$1@newsgroups.borland.com> <4578d02b$1@newsgroups.borland.com> <4578dae2$1@newsgroups.borland.com> <4578ed46@newsgroups.borland.com> <4578f53c@newsgroups.borland.com> <4578fa92$1@newsgroups.borland.com> <4579052c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c2ba0c1ed7538b68 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Quentin David Jones" <quentin.jones@romteck.com.spamprotect> Newsgroups: borland.public.cppbuilder.internet.socket References: <4578ba1b@newsgroups.borland.com> <4578bc9c$1@newsgroups.borland.com> <4578d02b$1@newsgroups.borland.com> <4578dae2$1@newsgroups.borland.com> <4578ed46@newsgroups.borland.com> <4578f53c@newsgroups.borland.com> <4578fa92$1@newsgroups.borland.com> <4579052c$1@newsgroups.borland.com> Subject: Re: Fixed :-) Great work Date: Fri, 8 Dec 2006 15:53:06 +0900 Lines: 48 Organization: Romteck P/L X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 203.59.8.178 Message-ID: <45790ba0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1165560736 203.59.8.178 (7 Dec 2006 22:52:16 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!amsnews11.chello.com!newsfeed01.chello.at!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail