Re: Socket weirdness

Tech-Archive recommends: Fix windows errors by optimizing your registry



I guess the bit is not set in a send either - only the ACK. So I guess that
means you must always do at least two sends (at the client) before you will
notice a shutdown receive at server.

--
William Stacey [MVP]

"Dave Sexton" <dave@jwa[remove.this]online.com> wrote in message
news:O6rzGL42GHA.5048@xxxxxxxxxxxxxxxxxxxxxxx
| Hi William,
|
| >I see what they did with the two version of send now. Send with the
"out"
| > error overload should probably be changed to "bool TrySend(...)" to
match
| > with current standards. The null IAsyncResult thing still bugs me
|
| Agreed.
|
| > The other thing we discover here via imperitive evidence is that
| > shutdown.receive will never be sent by server unless it can piggyback on
an
| > ACK reply or an outgoing message. Something I must remember. Cheers.
|
| I haven't tried using an outgoing message. Did you test that?
|
| --
| Dave Sexton
|
|


.



Relevant Pages

  • Re: UDP server scalability question
    ... why are you setting up an ACK on UDP? ... If this is all the server does, spawning multiple threads will most likely ... Unless the ACK is giving data (what the client should ...
    (microsoft.public.dotnet.framework)
  • Re: tcpdump question
    ... F is for FIN ... client> server SYN ... sever> client SYN ACK ...
    (freebsd-questions)
  • Re: TCP SACK issue, hung connection, tcpdump included
    ... SACK block is DSACK information telling explicitly the address ... if this ACK doesn't reach the ... SERVER TCP, RTO is triggered and the first not yet cumulatively ACKed ... drops packets with the SACK option set. ...
    (Linux-Kernel)
  • Re: Is Wininet the only choice for FTP?
    ... if I try to transfer 150 MB file then the file on the local disk gets pretty close to 150MB and then FtpGetFile() returns false. ... client responds with ACK ... server sends ACK ...
    (microsoft.public.win32.programmer.networks)
  • Re: Please help me interpret a suspicious netstat SYN_SENT TCP port 1058 ?
    ... SYN_SENT is a TCP state. ... SYN-ACK is a pair of flags, SYN and ACK, that may be set on a socket. ... TCP handshake - the client sends a SYN-flagged packet to the server. ...
    (comp.security.firewalls)