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 7918323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:27:48+00:00 2026-06-03T15:27:48+00:00

I have a TCP server software in C#. I am reading data that is

  • 0

I have a TCP server software in C#. I am reading data that is coming from a client by using the code below.

DataLen = NetworkStream.Read(Data, 0, Data.Length);

In this case, when a client sends data continuously with a very small period of time, new data comes while i am evaluating the last data buffer. What should i do in this case?

  • 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-03T15:27:49+00:00Added an answer on June 3, 2026 at 3:27 pm

    The TCP protocol provides reliable, ordered delivery of a stream of bytes. Thus you do not need to worry about this.
    The worst which can happen are requeues, when you are reading too slowly and the network buffers are too small. Thus you might need to split reading and processing into different threads.
    The requeues are not transparent to the application, you will see just slowness and need tools like wireshark/tcpdump to detect them.

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

Sidebar

Related Questions

I have a server application that receives some special TCP packet from a client
I have to test the value from client to server using different protocols (Tcp
I have a server that connects to multiple clients using TCP/IP connections, using C
I'm using Java to create a client/server application that communicates using TCP. The network
I have write a TCP client and server in C. These software run on
I have two TCP-server apps that are based on the same code, but for
I have a TCP server that listens for an incoming client, then sends it
i have a TCP server software. I open a thread for every TCP client.
i am programing a client/server software in Python using sockets. I have a question,
I have written a Python TCP/IP server for internal use, using win32serviceutil/py2exe to create

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.