[twsocket] TIcsSocket - Socket.Close locks up - 99% CPU

2006-01-11 Thread Peter Slater
Hi I am having a problem with the kylix version of ICS at the moment. It is a console tcp/ip server app running on linux. It accepts connection from clients and sends data to each of the clients. The problem is when the client disconnects, My program runs at 99% CPU and the loop is in the IcsSocket

回覆: Re: 回覆: Re: [twsocket] Thttp Cil Send bufsize problem

2006-01-11 Thread Opqrst Ghrst
Hi I want to change the send buffer just like Tidhttp it property "SendBufferSize" , at ThttpCli I only change it to max 8193 limit by set HttpCli1->CtrlSocket->BufSize property, and I don't know how to set can more than 8193 even to 32768 or more. Because by this way I can Upload with my full u

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-11 Thread Angus Robertson - Magenta Systems Ltd
> IcsZlibdll.obj not found That module is not used or needed unless you change the defines to use the ZLIB DLL instead of ZLIB OBJ files. So it's not in the ICS package. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listin

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-11 Thread Francois Piette
> IcsZlibdll.obj not found This one is in a vc32 subdirectory (zlib123 I think). Just a matter of path in BCB. > and IcsURL.obj not found! That's a standard ICS file (at least icsURL.pas). Try adding this file to the project. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-11 Thread Francois Piette
> const-units, see top of the unit, may be the define needs to be changed? > > {$IFDEF DELPHI6} Try COMPILER6 instead of DELPHI6. This symbol is defined for both Delphi and BCB. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> T

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-11 Thread Angus Robertson - Magenta Systems Ltd
> In ICSStreams, there is an exception type called SFCreateError that > cannot be found anywhere That literal is in RTLConsts. Angus -- 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.o

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-11 Thread Arno Garrels
Fastream Technologies wrote: > Hello, > > First problem was with the type TSocket. I made a workaround by moving the > type definition to the top of the module but I have a bigger problem: > > In ICSStreams, there is an exception type called SFCreateError that cannot It's not an exception, but a

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-11 Thread Fastream Technologies
Ok those things were easy yet still needed to be fixed. Now I get IcsZlibdll.obj not found and IcsURL.obj not found! I do build all with BCB6Pro. Regards, SZ - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, January 11,

[twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-11 Thread Fastream Technologies
Hello, First problem was with the type TSocket. I made a workaround by moving the type definition to the top of the module but I have a bigger problem: In ICSStreams, there is an exception type called SFCreateError that cannot be found anywhere (netiher by compiler nor by find). Any ideas? Be

Re: [twsocket] how to send an Image ?

2006-01-11 Thread Wilfried Mestdagh
Hello Persian, > Please help me to fix this problem . You dont tell what the problem is ! Some quick view: > myData.LoadFromFile(OpenPictureDialog1.FileName); > myData.Position:=0; > Size := WSocket1.Send(myData.Memory,myData.Size); You send a picture in 1 packet UDP ? Or do you use TCP ? Or

Re: [twsocket] how to send an Image ?

2006-01-11 Thread Persian Patient
Dear Friends , Hello , I have found a sample of ICS in component package , this sample can send a text message , I was made some changes on that to send an image over the network . my final code is as the follows : OnDataAvailable event on receiver side : -