Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Checking connection status and recovering from fail
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
GilNajera  
View profile  
 More options Mar 30 2011, 2:05 pm
Newsgroups: alt.winsock.programming
From: GilNajera <gilnaj...@gmail.com>
Date: Wed, 30 Mar 2011 11:05:32 -0700 (PDT)
Local: Wed, Mar 30 2011 2:05 pm
Subject: Re: Checking connection status and recovering from fail
On 29 mar, 15:28, Jean-Christophe <5...@free.fr> wrote:

> Ok.
> Why did you choose to use TCP ?
> If you *really* need to send packets
> every 100 ms, have you considered UDP ?
> Some UDP packets *could* be lost, but if you send
> them every 100 ms it shouldn't be that important.
> More to the point, it will keep fast transfer
> rate without the need of a TCP connection.

I've chosen TCP because of its reliability, the most of the
information I send can't be lost. Also (call me lazy) I didn't want to
implement my own reliable UDP, although that is not totally discarded.
I've read, don't remeber exactly where, that an well configured TCP
(no Naggle, proper packet size, reasonable send rates,...) could be as
fast as a reliable UDP with less effort.

> Did you run this test on a LAN or thru internet ?
> On a LAN you should NOT have so much unexpected
> disconnections nor packet lost because of the network.

I'm testing on a wireless LAN, intentionally chosen to be a little
unstable for testing purposes.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.