🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1788

Re: Quick question about sockets.

#1788
From: Torsten Welches
Date: Fri, 07 Sep 2001 05:23
13 lines
1368 bytes
"Alex Colic" <alex.colic@pop-ware.com> wrote:

>I have created a class that has a thread that listens on the 
>socket for msgs. So far this has worked for me but when I have 
>more than one app installed on the same machine I get net bind 
>exceptions that the port is already taken.

It's just like the exception says - you can bind each port 
number to exactly one ServerSocket on each machine. If you are 
to run multiple server each would have to use a different port.

Torsten
Technical Details
Message-ID: <3b9859d6$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3b97d61e_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,75eb349919d2da57
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-09-06 22:26:44 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Subject: Re: Quick question about sockets.
Newsgroups: borland.public.jbuilder.java.api
X-User-Info: 193.158.55.74 193.158.55.74    
References:  <3b97d61e_1@dnews> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3b9859d6$1_2@dnews>
Date: 6 Sep 2001 22:23:34 -0700
X-Trace: dnews 999840214 207.105.83.65 (6 Sep 2001 22:23:34 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews