🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Multiple serversockets in a single executable?

#2415
From: Remy Lebeau (TeamB)
Date: Wed, 26 Apr 2006 17:04
23 lines
1800 bytes
"Arska" <joku@eiolemassa.fi> wrote in message
news:444f28ce@newsgroups.borland.com...

> Is it possible to use two TServerSocket component in a single application?

Yes, provided that they are active on different IP/Ports from each other.

> I have used two TServerSocket components. The first works ok,
> but the second refuses to connect. It gives an event "On connecting",
> but don't establish connection.

How exactly do you have your servers configured?  Are you using them in
blocking or non-blocking mode?  Is the OnAccept event being triggered on the
second server at all?  Are you getting an OnError event triggered on the
client?  If so, which ErrorCode is it reporting?  Where are the clients
located on the network in relation to the server?  Which IP/Port are the
clients trying to connect to exactly?

Please provide more details.


Gambit
Technical Details
Message-ID: <444fa8da$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>

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>
Subject: Re: Multiple serversockets in a single executable?
Date: Wed, 26 Apr 2006 10:04:47 -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: <444fa8da$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146071258 68.69.17.41 (26 Apr 2006 10:07:38 -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