[twsocket] SocketServer doubt

2007-09-03 Thread João Gonçalves
Hello, I’m working with a TCP Server using component Socket Server, When i disconnect a client, by removing it’s cable for example, the port on the server stays opened. How can I detect that the client has disconnected. Thank you Best regards, João Gonçalves -- To unsubscribe or change

[twsocket] problem with TCP server

2007-10-15 Thread João Gonçalves
ignored. I think it’s because the same receive function is used by booth clients, is this true? And if so, how can I solve this problem, Thanks in advance, Best regards, João Gonçalves [EMAIL PROTECTED] -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] problem with TCP server

2007-10-15 Thread João Gonçalves
Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de DZ-Jay Enviada: segunda-feira, 15 de Outubro de 2007 10:45 Para: ICS support mailing Assunto: Re: [twsocket] problem with TCP server On Oct 15, 2007, at 05:20, João Gonçalves wrote: > When I receive data, wit

Re: [twsocket] problem with TCP server

2007-10-15 Thread João Gonçalves
, João Gonçalves wrote: > I'm using these parameters: > ((TTcpSrvClient *)Client)->LineMode= FALSE;// > ((TTcpSrvClient *)Client)->LineEdit= TRUE; > ((TTcpSrvClient *)Client)->OnDataAvailable = ClientDataAvailable; > ((TTcpSrvCl

Re: [twsocket] problem with TCP server

2007-10-15 Thread João Gonçalves
ome de DZ-Jay Enviada: segunda-feira, 15 de Outubro de 2007 11:12 Para: ICS support mailing Assunto: Re: [twsocket] problem with TCP server On Oct 15, 2007, at 05:56, João Gonçalves wrote: > I'm using these parameters: > ((TTcpSrvClient *)Client)->LineMode= FALSE;//

Re: [twsocket] problem with TCP server

2007-10-16 Thread João Gonçalves
Thank you for your answer, I did that, and for now (with 2 clients) and putting the thread priority to tpIdle, is working fine, Thank once more, João -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Francois Piette Enviada: terça-feira, 16 de Outubro de 2007 0

[twsocket] small but pertinent doubt

2008-04-03 Thread João Gonçalves
Hello, I developed an application in C++ Builder, based on the example TcpSrv. It works very well, for a single client. I’m now trying to use several clients, looking to the documentation, ICS has 2 examples: MtSrv and TnSrv, they booth say that this should be used for a real world server. My ques

Re: [twsocket] small but pertinent doubt

2008-04-04 Thread João Gonçalves
/teamics.html http://www.mestdagh.biz Thursday, April 3, 2008, 23:17, João Gonçalves wrote: > Hello, > I developed an application in C++ Builder, based on the example TcpSrv. It > works very well, for a single client. I’m now trying to use several clients, > looking to the documentatio

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread João Gonçalves
rbyte/teamics.html http://www.mestdagh.biz Friday, April 4, 2008, 22:45, João Gonçalves wrote: > Hello, thank you for the answer > In the application that I developed, taking the base of TcpSrv, I use > TWSocketServer, 2 questions: > - Is this multithread? > - Is it better than MtSRv?

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread João Gonçalves
http://www.mestdagh.biz Saturday, April 5, 2008, 09:15, João Gonçalves wrote: > Hello, > Jus tone more thing: can youn point me to that example? I can't seem to find > it:-( > Thank you, > João > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread João Gonçalves
have for example lengthy code to execute. There is an example with JG> TWSocketServer also multitrheaded. JG> --- JG> Rgds, Wilfried [TeamICS] JG> http://www.overbyte.be/eng/overbyte/teamics.html JG> http://www.mestdagh.biz JG> Friday, April 4, 2008, 22:45, João Gonçalves wrote: &

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread João Gonçalves
ll example files to see witch one. I know there is an example of running each client in separated thread. But are you sure you need a thread per client ??? --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Saturday, April 5, 2008, 09:42, João Gonça

Re: [twsocket] small but pertinent doubt

2008-04-06 Thread João Gonçalves
Saturday, April 5, 2008, 19:33, João Gonçalves wrote: > Let me explain why do I (think I) need a thread per client. > I have a C++ builder app, with a main form, that has a table with the > information of the status of several clients. > When some client connects, it instantiat

Re: [twsocket] small but pertinent doubt

2008-05-07 Thread João Gonçalves
ks in advance Regards João -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de João Gonçalves Enviada: domingo, 6 de Abril de 2008 13:37 Para: 'ICS support mailing' Assunto: Re: [twsocket] small but pertinent doubt Thanks for the help. I you look into al

[twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread João Gonçalves
Hello, I currently working with C++ Builder 2009, and I'm trying to upgrade my TCP server (based on the ICS TCPSRV demo) for this version, but I'm getting several inconsistency and linker errors. Can anyone give me a little help, on this? Thank you Best regards João Gonçalves -- To u

Re: [twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread João Gonçalves
x27;__fastcall Overbyteicswsocket::TCustomWSocket::SendStr(System::UnicodeString)' referenced from ...TCPSRV1.OBJ -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de João Gonçalves Enviada: segunda-feira, 20 de Outubro de 2008 12:31 Para: 'ICS support mail

Re: [twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread João Gonçalves
2009 TCP Server Hi, Did you delete the obj files before recompilation? Regards, SZ On Mon, Oct 20, 2008 at 4:37 PM, João Gonçalves <[EMAIL PROTECTED]>wrote: > Hello, > After removing the "const" from the functions' prototypes, doesn't gives > any > compil

Re: [twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread João Gonçalves
2007. Thank you for the help João -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Arno Garrels Enviada: segunda-feira, 20 de Outubro de 2008 14:56 Para: ICS support mailing Assunto: Re: [twsocket] C++ Builder 2009 TCP Server João Gonçalves wrote: > Hello,

Re: [twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread João Gonçalves
ot; in the pascal source for the params of the functions it reports. On Mon, Oct 20, 2008 at 2:04 PM, João Gonçalves <[EMAIL PROTECTED]>wrote: > Hello, thank you for your answers, > I'm using ICS v7.0 with the example TCPSRV from v5. > In fact I have errors in the Send function,

Re: [twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread João Gonçalves
en removed). Maybe that's the cause..? Regards, SZ On Mon, Oct 20, 2008 at 1:16 PM, Arno Garrels <[EMAIL PROTECTED]> wrote: > João Gonçalves wrote: > > Hello, > > I currently working with C++ Builder 2009, and I'm trying to upgrade > > my TCP server (based on

Re: [twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread João Gonçalves
2009 TCP Server João Gonçalves wrote: > Hello, > That fixed the problem of the linker. However when I run the > application and try to connect a client, the following error appears: > Access violation at address F88BFC55. Read address F88FC55. No idea, I got it working as described be