🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Connect at other PC

#4687
From: Hans Galema
Date: Mon, 03 Jan 2005 12:35
24 lines
1978 bytes
Partaud wrote:
> OK but I don't understand how the client know the server address tu upload a 
> file for example.

The user -you- has to know that address to begin with.
If you want to up/download a file you would know where you would
up/download it to/from I think.

If you know the hostname of the server -or its ipadrres- then
you given that to your client application.

> Because when the client want to download or upload I think 
> the server must send its address to the client.

No.

The server does not know the client until a client connects.

It is like you want to fone me. Then you -the client- needs to
know my fonenumeber to begin with.

To which server do you want to connect ?

Hans.
Technical Details
Message-ID: <41d93c31$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41d7fc8a@newsgroups.borland.com> <41d80ad1@newsgroups.borland.com> <41d83688@newsgroups.borland.com> <41d85e50$1@newsgroups.borland.com> <41d93034@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,83af937d4fbc2cad
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 03 Jan 2005 13:35:17 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Connect at other PC
References: <41d7fc8a@newsgroups.borland.com> <41d80ad1@newsgroups.borland.com> <41d83688@newsgroups.borland.com> <41d85e50$1@newsgroups.borland.com> <41d93034@newsgroups.borland.com>
In-Reply-To: <41d93034@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <41d93c31$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1104755761 129.125.201.248 (3 Jan 2005 04:36:01 -0800)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail