Re: [twsocket] Sending directly, not via Send Buffer

2006-02-20 Thread Surabaya
or 6110 bytes? I've deleted all showmessages and application.processmessages in my code... Thanks Regards, Widita Surabaya, Indonesia On 2/20/06, Surabaya <[EMAIL PROTECTED]> wrote: > > Wow, my application really works much better after deleting all > application proces

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-20 Thread Surabaya
Wow, my application really works much better after deleting all application processmessages on my code... On 2/20/06, Francois Piette <[EMAIL PROTECTED]> wrote: > > > so I can't call application.processmessages at all? > > Sure you can, but not from an event handler or you'll have problem > reente

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-20 Thread Surabaya
so I can't call application.processmessages at all? what can I call if I need my user interface updated? for example I changed a Label's caption and need it refreshed when accepting data? On 2/20/06, Wilfried Mestdagh <[EMAIL PROTECTED]> wrote: > > Hello Arno, > > >> what is message pump? > > Fo

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-20 Thread Surabaya
What do you mean about this statement? "calling the message pump from an event handler" what is message pump? thanks On 2/20/06, Francois Piette <[EMAIL PROTECTED]> wrote: > > > Yes, right now I am facing the same problem as Dan's > > > > I'm receiving more than one line in a call of DataAvailab

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-19 Thread Surabaya
Yes, right now I am facing the same problem as Dan's I'm receiving more than one line in a call of DataAvailable does TWSocket has any property to set so that there will only be a line per DataAvailable event triggered? On 2/20/06, Dan <[EMAIL PROTECTED]> wrote: > > > - Original Message -

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-19 Thread Surabaya
Ok, I'll try it thanks... On 2/20/06, Fastream Technologies <[EMAIL PROTECTED]> wrote: > > What about Mimeutils.pas in ICS package? > > Regards, > > SZ > > ----- Original Message - > From: "Surabaya" <[EMAIL PROTECTED]> > To: &quo

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-19 Thread Surabaya
OK, I'll try the Base64 method Do you have any recommendation about Base64 encoding/decoding library? On 2/19/06, Dod <[EMAIL PROTECTED]> wrote: > > Hello Surabaya, > > if you send binary with LineMode there are many way to manage it. > > The si

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-19 Thread Surabaya
On 2/19/06, Francois PIETTE <[EMAIL PROTECTED]> wrote: > > > Ok, then I must manage the received buffer by myself? > > cutting and joining so that it can be interpreted perfectly by the > > receiver, > > is that right? > > Yes and no :-) > TWSocket has a "line mode" in which it assemble (or split)

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-19 Thread Surabaya
On 2/19/06, Francois PIETTE <[EMAIL PROTECTED]> wrote: > > >>> 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 > > (

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-19 Thread Surabaya
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

[twsocket] Sending directly, not via Send Buffer

2006-02-19 Thread Surabaya
Can I send directly everytime I call the client.Send(@sf, sizeof(sf))? Does TWSocketServer have any property that allow me to send everything without buffered first? regards, Widita -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/lis

Re: [twsocket] Sending 7 Kilobytes of data

2006-01-18 Thread Surabaya
icate the buffer length send out. > > Regards > KL CHin > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Surabaya > Sent: Thursday, January 19, 2006 12:52 PM > To: twsocket@elists.org > Subject: [twsocket] Sending 7 Kilobyt

[twsocket] Sending 7 Kilobytes of data

2006-01-18 Thread Surabaya
Hello, I need to send a bunch of data, in size of about 7 Kilobytes, if I sent it all at once using "client.Send(@fm, sizeof(fm));" the client cannot always receive it succesfully, sometimes it is received all at once, but sometimes the client received only 1,5 Kilobytes If I sent it in 5 piece