Re: [twsocket] Bind Exceptions

2005-07-15 Thread Wilfried Mestdagh
Hello Wesley, Next time please write down at least the winsock error :) In this case you have 10048 witch means that the address already in use (by your other instance of your program). address + port is exclusive (in fact it is proto + address + port). --- Rgds, Wilfried

Re: [twsocket] Adding gzip to HttpCli

2005-07-15 Thread Francois Piette
So we should consider both. But there is a potential problem. The RFC stated that more that one encoding can be applied to the body. We can have then a mixed situation. Two compression applied one after the other or one compression for a part of the document and another one for the remaining

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Francois Piette
The bind error is translated to an exception which says something like error 10048 port already in use. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Wesley Spadola [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, July 15, 2005 3:12 AM Subject: [twsocket]

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Wesley Spadola
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To you both, Darin and Wilfried - I'm aware that you cannot have two sockets listening on the same address, port and protocol. Sorry about that - yes, it was a 10048 error. I was wondering how I could catch that error programatically when my

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Dan
Use Try and Except. Try WSocket1.Listen; Except On E: Exception Do Memo1.Lines.Add('Error when listening: '+E.Message); End; - Original Message - From: Wesley Spadola [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, July 15, 2005 11:11 AM Subject: Re:

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Francois Piette
Sorry about that - yes, it was a 10048 error. I was wondering how I could catch that error programatically when my program runs. Try/except around your cann to Listen. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Wesley Spadola [EMAIL PROTECTED] To: ICS

[twsocket] error dnslookup

2005-07-15 Thread Develop ics
Hi I've a problem with TWSocket when i want to use dnslookup with an ip number. If i give it a host as parameter, it resolves it, but if i give it an ip number it does nothing, i saw in ICS's DnsLook.dpr sample project that if i pass an ip it resolves nice I've a list of hosts and IPs and I

Re: [twsocket] Using TTnEmulVT

2005-07-15 Thread Francois PIETTE
Can I remove string EmulVT from the top line when I dragdrop this component on the form? You must write the Clear Screen escape sequence at runtime. For example from the FormCreate event handler: TnEmulVT1.WriteStr(#27 + '[2J'); And can I use my own settings instead EditOptions method.