Article View: borland.public.cppbuilder.internet.socket
Article #3761Re: Need help with ServerSocket problem
From: Steve Aletto
Date: Wed, 22 Jun 2005 15:18
Date: Wed, 22 Jun 2005 15:18
18 lines
1645 bytes
1645 bytes
> I have a central application which has a ServerSocket defined > and I open this socket in a blocking format. Each time a > client connects I create a thread for the client. This all > works well and I have many applications running without the > following problem, but I have a case where when the thread was > being created I received a call stack overflow exception. Not sure I will help, but: How do you create the thread? Suspended or not? If not Suspended, do you have any initialization code in the thread constructor? If so, then try to create the thread Suspended and then Resume it explicitly. HTH, Steve.
Technical Details
Message-ID:
<42b9811a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42b959e8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f886ead4ead7b4c4 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <42b959e8$1@newsgroups.borland.com> Subject: Re: Need help with ServerSocket problem Date: Wed, 22 Jun 2005 17:18:52 +0200 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 81.208.124.114 Message-ID: <42b9811a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1119453466 81.208.124.114 (22 Jun 2005 08:17:46 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail