On 2/19/06, Francois PIETTE <[EMAIL PROTECTED]> wrote:
> > Can I send directly everytime I call the client.Send(@sf, sizeof(sf))?
> Yes, but pay attention to dynamic data which is represented by pointers.
> Sending a pointer to a remote site is useless !
> Dynamic data are long strings, objects, dynamic arrays, pointer to
> > Does TWSocketServer have any property that allow me to send everything
> You never send anything with TWSocketServer. When you send something it is
> thru one of the TWSocketClient instanciated by TWSocketServer to handle
> client connection (you have access to all those sockets thru
Yes, I used Client.Send...
> to send everything without buffered first?
> What do you mean by "buffering first" ?
It's something like this, when I send 2 packets consecutively, 1 after
another, it often received as one packet in the client side
After I read the help files, I found this:
Function Send(Data : Pointer; Len : Integer): integer;
Send arbitrary data thru the socket. Data is given by address and size. Data
is placed in a buffer for sending in the background. This buffer is
allocated dynamically so it seems to be huge. But be aware that it consume
free memory on the heap.
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> [EMAIL PROTECTED]
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be