Re: [twsocket] Sending binary data

2008-05-07 Thread Wilfried Mestdagh
Hello Daniel, It is indeed not a rare situation. Sending the length of the data first is a good idea, I do it often. another simple option is to escape some characters and still use lineMode. You have to escape the LineEnd characters as whell as the escape byte. See also http://wiki.overbyte.be fo

Re: [twsocket] small but pertinent doubt

2008-05-07 Thread João Gonçalves
Hello all, After some experiments and some (huge) line codes, I have some updates regarding this issue. I adopted TcpSrv example, I'm using TWSocketServer component and associated a new form for which client. In this way, each client updates the visual aspect of the form accordingly. I think this i

Re: [twsocket] [OT] CodeGear sold

2008-05-07 Thread Francois PIETTE
> CodeGear sold to Embarcadero Technologies Interestingly, Embarcadero vice president - Nigel Brown - came to Embarcadero after more than 10 years at Borland where he headed up the Developer Tools business (Code Gear) in 2006. Prior to that, he was Vice-President-EMEA, growing it to be Borland'

Re: [twsocket] SMTP Client - Delete Temp files -

2008-05-07 Thread Arno Garrels
wayne forrest wrote: > How do I know if the mail was sent OK; When OnRequestDone triggers with request smtpData and no error the mail has been sent to server sucessfully. Kind regards, Arno Garrels - DuoData Software Arno Garrels Lib

Re: [twsocket] SMTP Client - Delete Temp files -

2008-05-07 Thread DZ-Jay
wayne forrest wrote: > Hello, > > After I have successfully sent the Email I need to delete the temp Files ( > attachments ); > > How do I know if the mail was sent OK; After sending the message and issuing the QUIT command, the OnRequestDone is fired with no error with the Request = smtpQuit.

[twsocket] SMTP Client - Delete Temp files -

2008-05-07 Thread wayne forrest
Hello, After I have successfully sent the Email I need to delete the temp Files ( attachments ); How do I know if the mail was sent OK; -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at h

Re: [twsocket] Sending binary data

2008-05-07 Thread Angus Robertson - Magenta Systems Ltd
> I'm using plain TCP with TWSocket and would like to send binary > data. So far i've been sending text and used line mode, so I wonder > how to handle binary data. You can emulate FTP and send the binary data on a second socket, that's closed once it's finished. Or packet up your data with s

[twsocket] [OT] CodeGear sold

2008-05-07 Thread Arno Garrels
CodeGear sold to Embarcadero Technologies, source: http://phx.corporate-ir.net/phoenix.zhtml?c=112793&p=irol-newsArticle&ID=1141119 and http://www.codegear.com/about/news/embt Interesting detail: Embarcadero Technologies itself has been bought last year by Thoma Cressey Bravo, a private equity

[twsocket] Sending binary data

2008-05-07 Thread Daniel Mauric
Hi, I'm using plain TCP with TWSocket and would like to send binary data. So far i've been sending text and used line mode, so I wonder how to handle binary data. One option would be to encode to say base64 and so still use line mode, but that would make data larger, so I'd prefer to send binar

Re: [twsocket] THttpCli: default webpage name

2008-05-07 Thread Tobias Rapp
DZ-Jay wrote: > [EMAIL PROTECTED] wrote: >> If THttpCli is used to get a webpage with no document name specified, >> only directory ("www.codegear.com/products") - is it possible to find out >> the default document name? Whether it be "index.html" or "main.html" or >> just some custom name specifie