Article View: borland.public.cppbuilder.internet.socket
Article #4321Re: TCustomWinSocket Lock()!!!
From: Remy Lebeau (TeamB)
Date: Sun, 06 Mar 2005 21:01
Date: Sun, 06 Mar 2005 21:01
24 lines
1914 bytes
1914 bytes
"qyte" <gyte@vivodinet.gr> wrote in message news:42299308@newsgroups.borland.com... > if(Socket==sock[0]) > ClientSocketRead(ServerSocket,sock[0]); > if(Socket==sock[1]) > ClientSocket_s2Read(ServerSocket,sock[1]); > if(Socket==sock[2]) > ClientSocket_s1Read(ServerSocket,sock[2]); > if(Socket==sock[3]) > ClientSocket_mRead(ServerSocket,sock[3]); Why do you have different reading functions for each socket? > just sometimes when i send data from both sides and responce > is expected then there is confusion and they both stop transmiting. That sounds more like a bug in your own code and not in the socket themselves. Please show your actual code that is not doing what it is supposed to be doing. Gambit
Technical Details
Message-ID:
<422b6fb5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4228f8c1$1@newsgroups.borland.com> <42290e8b$1@newsgroups.borland.com> <42297c51$1@newsgroups.borland.com> <42298b47$1@newsgroups.borland.com> <42299308@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9c76e7cb52ebcfdd X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4228f8c1$1@newsgroups.borland.com> <42290e8b$1@newsgroups.borland.com> <42297c51$1@newsgroups.borland.com> <42298b47$1@newsgroups.borland.com> <42299308@newsgroups.borland.com> Subject: Re: TCustomWinSocket Lock()!!! Date: Sun, 6 Mar 2005 13:01:59 -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: <422b6fb5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110142901 68.69.17.41 (6 Mar 2005 13:01:41 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail