Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8502331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:27:17+00:00 2026-06-11T01:27:17+00:00

I am trying to send messages over tcp/ip between two servers. I want to

  • 0

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).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:27:18+00:00Added an answer on June 11, 2026 at 1:27 am

    Altering buffersize will have the sideeffect of ramping up ram usage – not recommended…

    As TCP actually deals with streams and not packets (UDP uses packets), I believe your answer lies within framing the message, see message framing

    see also code

    Found this possible solution somewhat later but thought it should be included here:

    SetTcpWindowSize

    Search towards the bottom for a VB example entitled “Setting the TCP Window Size for All Network Adapters”

    Alternatively there is a buffer handler here which looks like it will do the job of allowing you to read a message in one part even if it is in multiple packets it will allow you to reassemble them via buffer management. See this link

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to send a message with MassTransit over MSMQ. The message contains two
I am trying to send a message over a TCP socket at a regular
I have a class that Handles send & receive over a socket between my
I'm trying to consume JMS messages send over WebSphere MQ (WebSphere MQ Server v7)
I'm trying to send a message with game center that contains a struct, roughly
I'm trying to write some code that uses boost::asio's sockets to send a message
i'm trying to send a rsa key (RSA *myrsa) over tcp connection such way:
I'm trying to send-retrive message from server by SOAP... but soapConnection.call( soapMessage, endpoint )
I'm trying to send messages generated by Google Protocol Buffer code via a simple
I am trying to send a message, using MailCore framework in iOS. This is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.