Increasing TCP/IP Window size
        Posted  
        
            by 
                Lior 
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Lior 
        
        
        
        Published on 2012-09-04T14:49:59Z
        Indexed on 
            2012/09/11
            15:38 UTC
        
        
        Read the original article
        Hit count: 320
        
I am trying to send messages over tcp/ip between two servers. I want to send a message that is 30KB. But I want to send it with as a whole. I don't want tcp protocol to break it into segments.
I am using communication between 2 Windows Server 2008 R2. The client and the server are coded using c#. I tryed using
tcpclnt.SendBufferSize = 100000;
tcpclnt.Client.DontFragment = true;
and the same at the server.
I also tried configuring the window size of the server(editing the registry).
© Stack Overflow or respective owner