Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Apr : What is the preferred way of sending data over TCP
| Subject: | What is the preferred way of sending data over TCP |
| Posted by: | "Christopher Chuah" (chuahy..@163.com) |
| Date: | Sat, 16 Apr 2005 15:19:06 |
Hi Remy, Ben, Martin
Thanks for yr advice on not to use IP filtering. Sorry was busy for the past
few days. I am wondering... would anyone advice on what is the preferred way
of constructing a message to send via TCP/IP?
1. Should i have a header in the message?
2. What should the header consist of?
3. How do i identify the length of the message from the client?
4. Data over the network don come in the entire form. The server may receive
parts and pieces of it. How can i deal with this as to form up the complete
message from the client?
please advise.
chris