🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5033

Re: TCustomWinSocket

#5033
From: Remy Lebeau (TeamB)
Date: Tue, 01 Nov 2005 17:26
24 lines
1641 bytes
"Robert G. Hoover" <not.a.real.address@anywhere.sorry> wrote in message
news:43677e1a@newsgroups.borland.com...

> I've been looking through the documentation for TWinServerSocket
> and I'm not seeing anything similar to the SOCKET parameter that
> setsockopt() accepts.

Yes, you have.

> Is the SocketHandle the same thing, and int address of the SOCKET
structure?

Yes.  As per Borland's doc:

    "Use SocketHandle for Windows socket API calls that require the handle
to the socket."

> Is there a way to translate the TWinServerSocket into a SOCKET struct?

Simply cast the SocketHandle to a SOCKET.


Gambit
Technical Details
Message-ID: <4367a522$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43627188@newsgroups.borland.com> <43628c88$1@newsgroups.borland.com> <43677e1a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ddf88f1d3aecd366
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43627188@newsgroups.borland.com> <43628c88$1@newsgroups.borland.com> <43677e1a@newsgroups.borland.com>
Subject: Re: TCustomWinSocket
Date: Tue, 1 Nov 2005 09:26:02 -0800
Lines: 26
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: <4367a522$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130865954 68.69.17.41 (1 Nov 2005 09:25:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail