🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2338

Re: Multiple serversockets in a single executable?

#2338
From: Remy Lebeau (TeamB)
Date: Thu, 04 May 2006 17:45
23 lines
1688 bytes
"Arska" <joku@eiolemassa.fi> wrote in message
news:4459b46c$1@newsgroups.borland.com...

> Still no solution.

What EXACTLY are you having a problem with?  You didn't answer any of my
earlier questions.

> Now I am in a situation where server1 works ok. Server 2 establish
> connection, but when I send some data to it from remote client, it gives
> ClientRead event ok, but when I try to read the data with ReceiveText()
> it gives on exception and errorcode 10057. Connection is lost.

Please show your actual socket code.

> Something to do with threads?

TServerSocket does not use any threads by default.  You have to set it to
thread-blocking mode for that.


Gambit
Technical Details
Message-ID: <445a3f30$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <444f28ce@newsgroups.borland.com> <444fa8da$1@newsgroups.borland.com> <4459b46c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3bf6510caf6f0f0e
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: <444f28ce@newsgroups.borland.com> <444fa8da$1@newsgroups.borland.com> <4459b46c$1@newsgroups.borland.com>
Subject: Re: Multiple serversockets in a single executable?
Date: Thu, 4 May 2006 10:45:33 -0700
Lines: 25
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: <445a3f30$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146765104 68.69.17.41 (4 May 2006 10:51:44 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail