Re: [twsocket] Monitor TWSocket listening status

2008-02-01 Thread Angus Robertson - Magenta Systems Ltd
> if the failure occurred at busy hours, even a two minutes service > interruption will receive more than 10 complaints from customers. > As I mentioned before, very demanding. :~( If the customers are that demanding, you really need two or more servers so you can tolerate downtime. My client

Re: [twsocket] Monitor TWSocket listening status

2008-02-01 Thread Francois Piette
> Don't know if the reported state is accurate or not I would not rely on the State property. Instead I would use the events. The State property is anyway changed from the event handlers at the lower level. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTE

Re: [twsocket] Monitor TWSocket listening status

2008-02-01 Thread Patrick Wong
Thanks to Francois, Wilfried and Angus for your kind response. For monitoring the MySrv application at service level, I have already spawning a process periodically to connect to MySrv and in case it fails, an alarm is triggered. What I am trying to do is to find the root cause. Francois, > Yo

Re: [twsocket] TCP and fragmentation

2008-02-01 Thread Wilfried Mestdagh
Hello Markus, With so small packets I think you will have them complete most at the time. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, January 31, 2008, 19:43, Markus Humm wrote: >> Hello Markus, >> >> Fragmentation has nothing

Re: [twsocket] Send Integer ?

2008-02-01 Thread Wilfried Mestdagh
Hello wayne, Code is ok. And for the network byte order, it is in big endian format. here a function to convert the endianess of an integer: function Swap4(n: integer): integer; asm bswap eax end; So you do something like this: var len, size: Integer; begin len := 4; size := Swap4(I