[twsocket] Problem with HttpCli

2006-10-17 Thread ShowMe Software
Hi list, I'm using Delphi 7 and I'm having a problem with the HttpCli component. I've had this component in an app for several years and use it to 'get' a simple file. Just recently, and out of the blue, it stopped working. When it first happened, I couldn't compile the application, stopping

Re: [twsocket] TWsocket server client list Error

2006-10-17 Thread Miguel Ca
Hi I still have the same problem and i dont know why. My last test was: 1.SocketServer 2.Onclientconnect Show connection 3.OdataAvalilable : read the info send by other program, create a thread when the information is recieved and create a new thread with a sleep(500) instruction and the pos

Re: [twsocket] No fragmentation

2006-10-17 Thread Stadin, Benjamin
Great, thank you. Arno Garrels schrieb: > > Stadin, Benjamin wrote: > > Hi, > > > > I need to send a tcp packet without fragentation (DF flag set in > > ethernet frame). Is that possible with ICS? > > optval := 1; > WSocket_SetSockOpt(WSocket1.HSocket, IPPROTO_IP, IP_DONTFRAGMENT, > @optval, Siz

Re: [twsocket] Free a HttpCli in thread

2006-10-17 Thread Paul
Ok, thanks Paul - Original Message - From: "Francois Piette" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, October 17, 2006 3:31 PM Subject: Re: [twsocket] Free a HttpCli in thread >> Does this also free a HttpCli running in a thread ? >> >> PostMessage((Sender as THttp

Re: [twsocket] Free a HttpCli in thread

2006-10-17 Thread Francois Piette
> Does this also free a HttpCli running in a thread ? > > PostMessage((Sender as THttpCli).CtrlSocket.Handle, WM_QUIT, 0, 0); If the thread use the message loop from the CtrlSocket, then it will break the loop and make the thread terminate. And thread termination could free the object if you wrote

[twsocket] Free a HttpCli in thread

2006-10-17 Thread Paul
Does this also free a HttpCli running in a thread ? PostMessage((Sender as THttpCli).CtrlSocket.Handle, WM_QUIT, 0, 0); Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.b

Re: [twsocket] No fragmentation

2006-10-17 Thread Arno Garrels
Stadin, Benjamin wrote: > Hi, > > I need to send a tcp packet without fragentation (DF flag set in > ethernet frame). Is that possible with ICS? optval := 1; WSocket_SetSockOpt(WSocket1.HSocket, IPPROTO_IP, IP_DONTFRAGMENT, @optval, SizeOf(optval)); --- Arno Garrels [TeamICS] http://www.overby