🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: 1 to N and M to 1 connection

#4125
From: Hans Galema
Date: Tue, 22 Mar 2005 07:33
32 lines
2202 bytes
John wrote:

> Assume that our wireless network is not very reliabable and occasionally we 
> lose connection.
> We want to send some binary data from our notebook to N number of other 
> computers.

We would like to know then if the other computers have clients running.
In that case your laptop had the server. If the connection got lost then
the server application could do nothing but waiting for a client to connect
again. Then the client decides what happens then.

If your laptop has a client program that connects to servers on other computers
then you could program that client in such a way that it would reconnect
and resend. But it is all the protocol you are going to
make. Would you implement resuming download at the same position?

> We also want to receive some other binary data packets from M number of 
> other computers.

The same problem here.

> We want to have this communication to be as fast as possible and as reliable 
> as possible. Both N and M would vary depending on various circumstances.
> 
> What would you advise for such a system?

Nothing special. You need clients that reconnect at errors. And
your protocol should state how errors are handled. And allow
partial downloads.

Hans.
Technical Details
Message-ID: <423fcabc@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <423f9f4e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3d4683b9edb9e30b
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 22 Mar 2005 08:33:21 +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: 1 to N and M to 1 connection
References: <423f9f4e@newsgroups.borland.com>
In-Reply-To: <423f9f4e@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: <423fcabc@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111476924 129.125.201.248 (21 Mar 2005 23:35:24 -0800)
Lines: 32
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail