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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:35:51+00:00 2026-05-31T21:35:51+00:00

I have a server application that receives some special TCP packet from a client

  • 0

I have a server application that receives some special TCP packet from a client and needs to react to it as soon as possible by sending an high-level ACK to the client (the TCP ACK won’t suite my needs).

However, this server is really network intensive and sometimes the packet will take too long to be sent (like 200ms in a local network, when a simple server application can send it in less than 1ms).

Is there a way to mark this packet with a high-priority tag or something like that in Delphi? Or maybe with the Win32 API?

Thanks in advance.

EDIT

Thanks for all the answers so far. I’ll add some details. My product has the following setup: there are several devices that are built upon vehicles with WIFI conectivity. When they arrive at the garage, those device connect to my server and start to transmit data.

Because of hardware limitations, I implemented a high-level ACK to make the device aware that the last packet arrived successfully (please, don’t argue about this – the data may be broken even if I got a correct TCP ACK). However, if I use my server software, that communicates with a remote database, to issue this ACK, I get very long delay (>200ms). If I use an exclusive software to do this task, I get small latencies (<1ms). So, I was imagining if I could just tell Windows to send those special packets first, as it seems to me that this package is getting delayed so the database ones can get delivered.

That’s the motivation behind my question.

EDIT 2

As requested: this is legacy software and I’m using the legacy dclsockets140.bpl package and Delphi 2010 (14.0.3593.25826).

  • 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-05-31T21:35:52+00:00Added an answer on May 31, 2026 at 9:35 pm

    IMO it is very difficult to realize this. there are a lot of equipment and software involved. first of all, if you communicate between 2 different OS’s you got a latency. second, soft and hard firewalls, antiviruses, everything is filtering/delaying your package.

    you can try also to ‘hack’ the system(this involve some very good knowledge on how the frames/segments are packed/send,flow control,congestion,etc), either by altering it from code, either by using some tools like http://half-open.com/ or others.

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

Sidebar

Related Questions

I have a client-server application that utilises MSMQ and NServiceBus for messaging. During some
We have a server application that we want to restrict non-users from triggerring it
I have a server application that consists of multiple OSGi bundles, some mine, some
I have a server application that needs to find and exchange small amounts of
Hello I developed a multi-threaded TCP server application that allows 10 concurrent connections receives
I have a swing application that sends commands to server and receives result in
One desktop application needs to get some services from server. For example sending some
I have two utilities written in C++, TCP/IP server and client that I have
Currently I have an application that receives an uploaded file from my web application.
I have a server-client application that is using a datagram socket to exchange messages.

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.