How can I prevent TCP/IP from grouping together multiple SendText requests into one packet?
- From: jklimek@xxxxxxxxx
- Date: 25 Oct 2005 13:15:07 -0700
At first I was trying to figure out how to do this the "best" way but
now all I want to do is have it working.
What I have is a very, very simple Delphi program which communicates
with iTunes via COM.
I then have a client (on a different machine) that I'm trying to have
connect to my server application and get an update of tracks, etc.
Right now my client sends the word "UPDATE" to my server and the server
then sends a bunch of packets (tstringlist) that contain artist name,
track name, etc.
The problem is that I'm using Socket.SendText() so fast that TCP/IP is
grouping lots of SendText requests into one TCP/IP packet and then it
gets very hard to parse them on the client...
How can I fix this the easiest way possible?
.
- Follow-Ups:
- Prev by Date: Re: @ operator ? Or maybe not
- Next by Date: Password Generator
- Previous by thread: How to control speed of TcomboBox.autocomplete
- Next by thread: Re: How can I prevent TCP/IP from grouping together multiple SendText requests into one packet?
- Index(es):
Relevant Pages
|