Re: [twsocket] TnEmulVT: Number Rows - Important!!!!

2005-09-07 Thread Steve Williams
Francois Piette wrote: Yes, seem to be some communication problems. I think he is looking for the telnet escape sequence to notify the server that the terminal size has changed. Maybe it is in the telnet rfc, I'm not sure. If that's the question, I don't know the answer. I was even not

Re: [twsocket] Multithreaded http...

2005-04-17 Thread Steve Williams
Wilfried Mestdagh wrote: you are ritght because working with float is more CPU. But GetTickCount roll over every 49 day... So without extra code the timeout can fail if it is (by Murphy's law) just on the particular moment.. It's not that much more code. NewTime := GetTickCount(); if NewTime

Re: [twsocket] getting the plain text part of a mail

2005-04-04 Thread Steve Williams
There are other cases. I have some example messages from a mailing list that are multipart/mixed with four parts where each part is text/plain and no HTML. So, the robust solution here is if it is multipart, to examine the content type of each part individually and see if it is text/plain.