Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 5th, 2006, 08:21 AM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Named Pipes

Hi,

I have a thread in my main application which is to act as a named pipe server to other processes. Part of the thread's loop is the call to ConnectNamedPipe() which waits for clients to connect to the pipe.

This is fine, but how do I close down the server application? The ConnectNamedPipe() function only returns when a connection is made so my thread cannot terminate properly.

Thanks in advance.







Similar Threads
Thread Thread Starter Forum Replies Last Post
named anchors stekker XSLT 1 November 16th, 2006 05:03 AM
Named Pipes Provider, error: 40 ipaine SQL Server 2000 1 November 14th, 2006 03:36 AM
Named arguments Bob Bedell C# 2 March 19th, 2006 09:25 PM
Help for named template wu4 XSLT 2 October 18th, 2005 10:09 AM
Named Instances and Performance Hal Levy SQL Server 2000 0 May 23rd, 2005 12:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.