πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Share a WinSock socket between EXEs ??

#1271
From: Regis St-Gelais
Date: Thu, 27 Sep 2007 12:20
27 lines
1776 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> a οΏ½crit dans le message de news: 
46fac06c@newsgroups.borland.com...
>
> Why not use a thread instead of an exe for that?
>

It's just paching an existing application and its not design to handle 
threads in that way.

>> Is this possible ??
>
> Technically yes.  You need to use WSADuplicateSocket() for that:
>
>    http://msdn2.microsoft.com/en-us/library/ms741565.aspx
>

Thanks for the information.

I plan to use a Named Shared Memory to pass WSAPROTOCOL_INFO  to the client.

great, I will play with that.

Regards,

-- 
Regis St-Gelais
www.laubrass.com 
Technical Details
Message-ID: <46fba031$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46fabea9$1@newsgroups.borland.com> <46fac06c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fc2e925d3a2e2af
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII
From: "Regis St-Gelais" <regis.st-gelais@NOSPAMlaubrass.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46fabea9$1@newsgroups.borland.com> <46fac06c@newsgroups.borland.com>
Subject: Re: Share a WinSock socket between EXEs ??
Date: Thu, 27 Sep 2007 08:20:53 -0400
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-Antivirus: avast! (VPS 000777-1, 2007-09-26), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 70.81.146.144
Message-ID: <46fba031$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1190895665 70.81.146.144 (27 Sep 2007 05:21:05 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail