Re: [twsocket] Making ServerClass of THttpServer and TFtpServerproperty

2008-11-19 Thread [EMAIL PROTECTED]
age --- >From: Fastream Technologies[mailto:[EMAIL PROTECTED] >Sent: 11/19/2008 1:52:33 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] Making ServerClass of THttpServer and TFtpServerproperty > >OT: Is there any way to browse the content

Re: [twsocket] THttpCli.Head bug

2008-11-05 Thread [EMAIL PROTECTED]
. >--- Original Message --- >From: Fastream Technologies[mailto:[EMAIL PROTECTED] >Sent: 11/5/2008 12:56:32 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] THttpCli.Head bug > >There is no proxy in between now. It must be a web serv

Re: [twsocket] THttpCli.Head bug

2008-11-05 Thread [EMAIL PROTECTED]
age --- >From: Francois PIETTE[mailto:[EMAIL PROTECTED] >Sent: 11/5/2008 12:35:24 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] THttpCli.Head bug > >> Please use the ICS HttpTst and HEAD to, > http://secure.iconsole.org/log

Re: [twsocket] OT: Is the list still alive?

2008-10-29 Thread [EMAIL PROTECTED]
I received your message fine. Yet, it is indeed strange that there haven't been any messages for a week. -dZ. >--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] >Sent: 10/29/2008 12:46:34 PM >To : twsocket@elists.org >Cc

Re: [twsocket] TTcpDaemon in ICS V7

2008-10-03 Thread [EMAIL PROTECTED]
I think you should be able to use conditional compiler directives for that. I believe there's a file included with the ICS distribution that defines various delphi compiler versions and such. -dZ. >--- Original Message --- >From: Jon Robertson[mailto:[EMAIL PROTE

Re: [twsocket] Early web server response

2008-09-25 Thread [EMAIL PROTECTED]
QUOTE: I not convinced of this. The title of the section is "Monitoring Connections for Error Status Messages". So when it say "SHOULD monitor the network connection for an error status" I think that it refers to the connection itself and not to an error reported by the server. Wow, you

Re: [twsocket] Early web server response

2008-09-24 Thread [EMAIL PROTECTED]
QUOTE: > Yes, but the response came while the body was in > transit already, before it was sent completely, which > puts the transaction in a very unstable state. This > is the reason why the RFC requires the client (i.e. > it says it "MUST") close the connection if the > Content-Length heade

Re: [twsocket] Early web server response

2008-09-23 Thread [EMAIL PROTECTED]
ntent-Length data and the server is interpreting the extraneous data as a new request. -dZ. >--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] >Sent: 9/23/2008 3:04:54 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [tws

Re: [twsocket] Early web server response

2008-09-23 Thread [EMAIL PROTECTED]
-authenticated request. This smells like a security vulnerability. Or am I misunderstanding it? -dZ. >--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] >Sent: 9/23/2008 2:25:24 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [t

Re: [twsocket] Early web server response

2008-09-23 Thread [EMAIL PROTECTED]
27;t really test this at the moment. -dZ. >--- Original Message --- >From: Maurizio Lotauro[mailto:[EMAIL PROTECTED] >Sent: 9/23/2008 12:32:24 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] Early web server response > >Scrive Mau

Re: [twsocket] Early web server response

2008-09-23 Thread [EMAIL PROTECTED]
Hello: I'm sorry for the long discussions, but we have identified an issue and understanding each other is the only way to work together to solve it. Please read below for my responses. I would take this off-list, except for the fact that it is a discussion on the implementation o

Re: [twsocket] Early web server response

2008-09-19 Thread [EMAIL PROTECTED]
emphasis) drop the connection. Perhaps it's done with "chunking"? -dZ. >--- Original Message --- >From: Fastream Technologies[mailto:[EMAIL PROTECTED] >Sent: 9/19/2008 12:54:58 PM >To : twsocket@elists.org >Cc : >Subject : RE

Re: [twsocket] Early web server response

2008-09-19 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Maurizio Lotauro[mailto:[EMAIL PROTECTED] >Sent: 9/19/2008 11:24:14 AM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] Early web server response > > This will work with Basic bu not with N

Re: [twsocket] Early web server response

2008-09-19 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Maurizio Lotauro[mailto:[EMAIL PROTECTED] >Sent: 9/19/2008 10:25:03 AM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] Early web server response > > I cannot close the connection, it will not > wo

Re: [twsocket] Early web server response

2008-09-19 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Maurizio Lotauro[mailto:[EMAIL PROTECTED] >Sent: 9/19/2008 8:12:30 AM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] Early web server response > > How I can avoid the second chunk or tell the server

[twsocket] OT: Getting bounces from every post I send (WAS: We are currently on a Holiday break.)

2008-09-17 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Maurizio Lotauro[mailto:[EMAIL PROTECTED] >Sent: 9/17/2008 2:28:05 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] We are currently on a Holiday break. > > Am I the only one? No, I am also gett

Re: [twsocket] Early web server response

2008-09-17 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] >Sent: 9/17/2008 2:09:29 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] Early web server response > I don't think it's current THttpCli's behav

Re: [twsocket] Early web server response

2008-09-17 Thread [EMAIL PROTECTED]
Hello: Actually, I just found that this is defined in the RFC (probably to prevent DOS attacks): 8.2.2 Monitoring Connections for Error Status Messages http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.2 "An HTTP/1.1 (or later) client sending a message-body SHOULD monitor the

Re: [twsocket] Early web server response

2008-09-17 Thread [EMAIL PROTECTED]
s and stop sending? This still won't prevent any data currently in transit from generatinga 402 error response when it arrives at the server. -dZ. >--- Original Message --- >From: Maurizio Lotauro[mailto:[EMAIL PROTECTED] >Sent: 9/17/2008 1:10:47 PM >To

Re: [twsocket] Early web server response

2008-09-17 Thread [EMAIL PROTECTED]
completed)? -dZ. >--- Original Message --- >From: Maurizio Lotauro[mailto:[EMAIL PROTECTED] >Sent: 9/17/2008 12:48:50 PM >To : twsocket@elists.org >Cc : >Subject : RE: [twsocket] Early web server response > >Hello, it seems that I have a

Re: [twsocket] ICS-SSL now released as freeware. ICS is ready for Tiburon. Version Control repository for ICS

2008-08-12 Thread [EMAIL PROTECTED]
ed or new. > > You are really welcome to participate in the development > and submit your fixes and changes. To do so, simply use > TortoiseSVN "diff file" facility and make your changes > available somewhere and announce it in the support > mailing list (or mail it to

Re: [twsocket] Post command...

2008-04-14 Thread [EMAIL PROTECTED]
zayin wrote: > I do not know enough about all the HTML codes to know if I am missing some. > Like "refresh current page" or reload or simple "acknowledge do nothing". There are no such responses. The response codes are typically status codes as a result of the request (error, success, file-not-fo

Re: [twsocket] Post command...

2008-04-14 Thread [EMAIL PROTECTED]
lla, after > the user presses the "accept" button the browser waits for a reply. With IE > the tabsheet title shows a spinning circle. With Mozilla it sets the cursor > to the pointer+hourglass. > > After the HandlePostedData I do not know what to send to handle the client &

Re: [twsocket] Post command...

2008-04-14 Thread [EMAIL PROTECTED]
Mark, If what you want is to let the user know that processing has completed, what you need to do is quite simple, old school CGI processing: You change the rendered output to reflect the results of processing. After finishing processing, change a variable, say, "resultString", an

[twsocket] Why does listening TWSocket reset defaults on close?

2007-12-14 Thread [EMAIL PROTECTED]
Hello: I just realized that if I close a listening TWSocket component (to stop listening), it reverts all defaults, including the listening port and address, so that if I want to start listening again, it will fail (unless I set the port). Although I can very easily work around this, I was j

[twsocket] Closing connection in OnDataAvailable retriggers event

2007-12-12 Thread [EMAIL PROTECTED]
Hello: I'm performing various requests depending on input received in the TWSocket.OnDataAvailable event (using LineMode=True). If an invalid string is received, I need to close the connection. However, calling WSocket.Close() from within the event will cause OnDataAvailable to trigger again.

Re: [twsocket] pop3 component not ready

2007-12-12 Thread [EMAIL PROTECTED]
, // we need to abort to reset the // component. If (ReqType = pop3Quit) Then FPop.Abort // Otherwise, quit gracefully if // still connected. Else If (FPop.Connected) Then FPop.Quit; End; End; >--- Original Message --- >From: [EMAIL

Re: [twsocket] pop3 component not ready

2007-12-12 Thread [EMAIL PROTECTED]
> whats the proper command to close the connection gracefully ? The command is "Quit". On a pinch, you could use "Abort", which will close the socket connection abruptly if it is opened, but "Quit" will send the "QUIT" POP3 command to the server and wait for it to close the connection. -dZ.

Re: [twsocket] Simple TWSocket listener question

2007-12-11 Thread [EMAIL PROTECTED]
t client object using OnClientConnected and OnClientDisconnected to mark the lifetime of the connection. -dZ. >--- Original Message --- >From : [EMAIL PROTECTED]:[EMAIL PROTECTED] >Sent: 12/11/2007 4:10:31 PM >To : twsocket@elists.org >Cc : >S

[twsocket] Simple TWSocket listener question

2007-12-11 Thread [EMAIL PROTECTED]
Hello: I'm still getting familiar with the low level functionality of the TWSocket underlying component, so please excuse my question if it sounds trivial. I'm trying to set up a simple tcp listener that accepts a single client connection and communicates with it. I am basing it off the TWSch

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread [EMAIL PROTECTED]
Quote from Arno: csDestroying is already in the states when you call DisconnectAll() from the destructor of the server's owner component. If you created the server with a nil owner, no problemo. - Then, as you say, there's no problemo, because that's exactly what I do. :) So, to make su

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread [EMAIL PROTECTED]
Quote from Arno: Not in my sources. It posts a message to tell the threads that they shall terminate. When a thread terminates clients are just ThreadDetached. Yes, you are right, sorry. Quote from Arno: I guess it's worth a trial to simply ThreadAttach all clients in the destruct

[twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-05 Thread [EMAIL PROTECTED]
Hello: I was testing my application and and noticed in the log that when I tried to destroy the TWSocketThrdServer while it had opened connections, I got a few (seemingly) random AVs which I traced to the following lines in PutDataInSendBuffer method: procedure TCustomWSocket.PutDataInSendBuff

Re: [twsocket] ICS

2007-12-05 Thread [EMAIL PROTECTED]
ed any more help with this. -dZ. >--- Original Message --- >From : Farhan Anwar[mailto:[EMAIL PROTECTED] >Sent : 12/5/2007 1:23:23 PM >To : [EMAIL PROTECTED] >Cc : >Subject : RE: ICS > > FARHAN ANWAR Yes Sir i have a question That will help me to c

Re: [twsocket] TWSocketServer and backlog

2007-12-05 Thread [EMAIL PROTECTED]
mpeting with the socket communication. How's that for an endorsement :) Thanks to all of you who offered help and suggestions. Cheers! -dZ. >--- Original Message --- >From: Hoby Smith[mailto:[EMAIL PROTECTED] >Sent: 12/5/2007 12:44:57 PM >To

Re: [twsocket] Webserver only with local connections

2007-12-04 Thread [EMAIL PROTECTED]
g/overbyte/teamics.html >--- Original Message --- >From: Hoby Smith[mailto:[EMAIL PROTECTED] >Sent: 12/4/2007 12:05:56 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] Webserver only with local connections > >George... Fundamentally,

Re: [twsocket] TWSocket transliterating tabs to spaces (nevermind)

2007-12-03 Thread [EMAIL PROTECTED]
age --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] >Sent: 12/3/2007 4:38:28 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] TWSocket transliterating tabs to spaces (nevermind) > >[EMAIL PROTECTED] wrote: > Hello: > Nevermind my last m

Re: [twsocket] TWSocket transliterating tabs to spaces (?!)

2007-12-03 Thread [EMAIL PROTECTED]
Thank you for your very fast response -- even faster than my other message acknowledging my stupidity :) >> Is LineEdit turned on ? Yes, it was. DOH! Thanks, -dZ. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/lis

Re: [twsocket] TWSocket transliterating tabs to spaces (nevermind)

2007-12-03 Thread [EMAIL PROTECTED]
Hello: Nevermind my last message. Like an idiot, I set LineEdit mode to True by mistake. I made this change inadvertently today, which explains why I didn't notice it before. Sorry, -dZ. >--- Original Message --- >From : [EMAIL PROTECTED]:[EMAIL PROTECTED] &g

[twsocket] TWSocket transliterating tabs to spaces (?!)

2007-12-03 Thread [EMAIL PROTECTED]
Hello: I just noticed something very bizarre: My client application sends text data using TWSocket to a TWSocketServer server application, and leading tabs are transliterated into spaces when they arrive! I've traced a particular string all the way until TWSocket puts it in its internal b

[twsocket] ICS wiki templates (are there any?)

2007-11-30 Thread [EMAIL PROTECTED]
Hello: I noticed that a lot of the components and their methods/properties wiki pages have basically the same layout and sections, and I was wondering (before I endeavor to start from scratch) if there was a template, or if it's just copy+paste from a previous one? -dZ. -- To unsubscribe o

Re: [twsocket] Help with SmtpClient

2007-11-30 Thread [EMAIL PROTECTED]
the async methods, which give you more control, and help keep your application more responsive. -dZ. >--- Original Message --- >From: Victor Gooch[mailto:[EMAIL PROTECTED] >Sent: 11/30/2007 2:44:25 PM >To : twsocket@elists.org >Cc : >Subject : RE

Re: [twsocket] Newbee writing webcam utility

2007-11-30 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Bob Reeves[mailto:[EMAIL PROTECTED] >Sent: 11/30/2007 1:25:53 PM >To : twsocket@elists.org >Cc : >Subject : RE: [twsocket] Newbee writing webcam utility > >Hi Folks, Just downloaded and installed ICS in Borland C++

Re: [twsocket] TWSocketServer and backlog

2007-11-29 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] > >> You can exchange data between threads the most easy is by posting a >> message where a pointer to the data is in WParam argument. The >> pointer can be freed in the custom message ha

Re: [twsocket] TWSocketServer and backlog

2007-11-28 Thread [EMAIL PROTECTED]
oming connections, as many connections can be queued in the backlog while its instantiating the client and dupping the socket. Any thoughts on this? -dZ. >--- Original Message --- >From: Hoby Smith[mailto:[EMAIL PROTECTED] >Sent: 11/28/2007 5:31:09 PM >To : tw

Re: [twsocket] ASyncReceive and wsoNoReceiveLoop

2007-11-28 Thread [EMAIL PROTECTED]
d and triggering the event again. Check to make sure that you are not overwriting some data in your event handler due to a buffer overflow. -dZ. >--- Original Message --- >From: Jake Traynham[mailto:[EMAIL PROTECTED] >Sent: 11/28/2007 4:24:15 PM >To : twsock

Re: [twsocket] I need some help understanding TWsocket states

2007-11-28 Thread [EMAIL PROTECTED]
Pablo, Are you having more problems? P.S. Puedes comunicarte conmigo directamente si necesitas ayuda en espaƱol. Translation: You can contact me directly if you require help in Spanish. -dZ. >--- Original Message --- >From: Pablo Harguindey[mailto:[EMAIL PRO

Re: [twsocket] I need some help understanding TWsocket states

2007-11-28 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] > > OnSessionAvailable is called only on listening TWSockets, > as I read the post it deals with a client (connecting party). Thanks, Arno. You are right; I misread his message but didn'

Re: [twsocket] TWSocketServer and backlog

2007-11-28 Thread [EMAIL PROTECTED]
r the help. -dZ. >--- Original Message --- >From: Wilfried Mestdagh[mailto:[EMAIL PROTECTED] >Sent: 11/28/2007 2:26:49 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] TWSocketServer and backlog > >Hello dz, a client appli

Re: [twsocket] TWSocketServer and backlog

2007-11-28 Thread [EMAIL PROTECTED]
I would also imagine that testing this within the local host will also affect the backlog, as you are establishing both sides of the socket within the same host, limiting the resources, no? -dZ. >--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] >Sen

Re: [twsocket] I need some help understanding TWsocket states

2007-11-28 Thread [EMAIL PROTECTED]
state is changed to wsConnected. If you're not listening on the port, then that could explain why OnSessioinAvailable is not being triggered. You want to handle OnSessionConnected instead. -dZ. >--- Original Message --- >From: Pete Williams[mailto:[EMAIL PROTECTED] &g

Re: [twsocket] TWSocketServer and backlog

2007-11-28 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Paul[mailto:[EMAIL PROTECTED] > > I always use 500, no problems yet Thanks for the quick reply. Then, is there a particular reason why it defaults to 5? It seems too low for all but the most trivial applications (given that spawning the c

Re: [twsocket] I need some help understanding TWsocket states

2007-11-28 Thread [EMAIL PROTECTED]
-dZ. >--- Original Message --- >From: Pete Williams[mailto:[EMAIL PROTECTED] >Sent: 11/28/2007 1:49:27 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] I need some help understanding TWsocket states > >Thank you to the two peo

[twsocket] TWSocketServer and backlog

2007-11-28 Thread [EMAIL PROTECTED]
Hello: While stress-testing my application, I noticed that I am able to send substantially many more connections in the time it takes the TWSocketServer to handle the incomming requests, causing the default backlog to fill up quickly. Obviously, I can increase the number, but seeing that the d

Re: [twsocket] Design isue

2007-11-26 Thread [EMAIL PROTECTED]
to be synchronized. I hope this helps, cheers! -dZ. -- DZ-Jay [Team ICS] http://www.overbyte.be/eng/overbyte/teamics.html >--- Original Message --- >From: Wilfried Mestdagh[mailto:[EMAIL PROTECTED] >Sent: 11/26/2007 1:31:50 PM >To : twsocket@elists.org >

Re: [twsocket] SOAP with httpcli??

2007-11-19 Thread [EMAIL PROTECTED]
. This is an important distinction: HttpCli will not offer any SOAP protocol facilities, just the underlying HTTP transport of the messages. -dZ. >--- Original Message --- >From: Ulrike Foeken[mailto:[EMAIL PROTECTED] >Sent: 11/19/2007 10:21:57 AM >To

Re: [twsocket] http://www.overbyte.be/

2007-11-15 Thread [EMAIL PROTECTED]
uveaux contenus -dZ. >--- Original Message --- >From: Angus Robertson - Magenta Systems Ltd[mailto:[EMAIL PROTECTED] >Sent: 11/15/2007 1:08:43 PM >To : twsocket@elists.org >Cc : >Subject : RE: [twsocket] http://www.overbyte.be/ > >The web sit

Re: [twsocket] TWSocketThrdServer

2007-10-19 Thread [EMAIL PROTECTED]
received by the server, and the entire line string is available. -dZ. >--- Original Message --- >From: Ana Onarres[mailto:[EMAIL PROTECTED] >Sent: 10/19/2007 11:35:49 AM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] TWSocketThrdServe

Re: [twsocket] TWSocketThrdServer

2007-10-19 Thread [EMAIL PROTECTED]
QUOTE: Angus None of these applications use threads, they are simply unnecessary for most ICS applications, and cause major development complications in something that should be essentially simple and reliable. END. I completely agree with Angus, and I learned it the "hard way", but enco

[twsocket] [OT] Testing...

2007-10-18 Thread [EMAIL PROTECTED]
#> HELLO WORLD. Is the list working...? Please ignore this message. -dZ. -- 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.be

[twsocket] [OT] TWSocketServer Client.Shutdown(1) does not destroy it

2007-10-17 Thread [EMAIL PROTECTED]
>> Since I solved my own problem, and it has nothing to do with TWSocket, this message is not Off Topic. Sorry, that was supposed to say "this message is *now* Off Topic." -dZ. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listi

Re: [twsocket] TWSocketServer Client.Shutdown(1) does not destroy it

2007-10-17 Thread [EMAIL PROTECTED]
window. The problem was that I forgot to check if the Msg.HWND property was 0 before calling the custom dispatcher. Since I solved my own problem, and it has nothing to do with TWSocket, this message is not Off Topic. -dZ. >--- Original Message --- >From : [EMAIL PRO

Re: [twsocket] TWSocketServer Client.Shutdown(1) does not destroy it

2007-10-17 Thread [EMAIL PROTECTED]
t its something to do with my code, but can anybody offer some suggestions as to what may cause this behaviour? Thanks, -dZ. >--- Original Message --- >From : [EMAIL PROTECTED]:[EMAIL PROTECTED] >Sent: 10/17/2007 2:06:48 PM >To : twsocket@elists.org >Cc

[twsocket] TWSocketServer Client.Shutdown(1) does not destroy it

2007-10-17 Thread [EMAIL PROTECTED]
Hello: I just started noticing this behaviour today, and I seem to recall it working differently: When handling the OnClientDataAvailable event, if I determine that the client needs to be disconnected, I call (Sender As TMyClient).Shutdown(1). The connection is dropped fine, but the client obj

Re: [twsocket] TWSocketThrdServer

2007-10-15 Thread [EMAIL PROTECTED]
QUOTE: Anne What difference is between to use TWSocketThrdServer and use TWSocketServer with ClientThread? Which is better for me? END. TWSocketThrdServer spawns a new thread for each incoming client (or a new thread after the maximum amount of clients per threads has been reached). TWS

Re: [twsocket] Over TWSocketServe

2007-10-12 Thread [EMAIL PROTECTED]
>> Very thanks. I will see this. I'm sorry, I gave the wrong demo names. The multi-threaded example applications are ThrdSrv, ThrdSrvV2, and ThrdSrvV3 (the last one using TWSocketThrdServer). The single-threaded one is TcpSrv. They are in the "Internet" directory in the ICS distribution. -

[twsocket] TWSocketServer friendly notice when disconnecting (was TWSocketThrdServer...)

2007-10-11 Thread [EMAIL PROTECTED]
Hello: Ok, now that I'm switching to TWSocketServer, my original question stands. Since all clients will run within the same thread context, then would it be safe to send the disconnect notice like Wilfried originally suggested? For example: Procedure WorkerThread.Execute; Begin _Initialize

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-11 Thread [EMAIL PROTECTED]
Message --- >From: Fastream Technologies[mailto:[EMAIL PROTECTED] >Sent: 10/11/2007 10:08:16 AM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting. > >I test my ICS-based MT proxy with 20k connec

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-11 Thread [EMAIL PROTECTED]
--- QUOTE: SZ If you do not want the ability to use multi-cores for communication threads, then async is the way to go. But IMO, it is an ill design since chipmakers are talking about 64-core CPUs and 10Gbps networks. --- END. Thanks, SZ. At this point I'm not so much concerned about complexity (

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-11 Thread [EMAIL PROTECTED]
--- QUOTE: Arno Garrels This is untested code. Also FThreadList has to be made public. Note that OnMessage would fire in different thread contexts but a single handler for all is fine. Hope this helps. --- END. I'll look into it. --- QUOTE: Arno Garrels I think it isn't very fast, I tested once

[twsocket] TWSocketThrdServer friendly notice when disconnecting.

2007-10-10 Thread [EMAIL PROTECTED]
Hello: I've noticed that when I use Shutdown(SD_BOTH), DisconnectAll(), or Free, all clients are disconnected gracefully. However, I was wondering if there is a way to intercept that the server is shutting down, so that I can send a "Server is shutting down. Connection closed." message before c

Re: [twsocket] ICS on SourceForge, which license is best ?

2007-10-08 Thread [EMAIL PROTECTED]
ch, in my opinion, is also the main point of your license. Here's a discussion I found on the license when the author was submitting it for approval by the Open Source Initiative: http://www.mail-archive.com/[EMAIL PROTECTED]/msg07630.html A quick Google search appears to show that the license

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread [EMAIL PROTECTED]
>> What are the requirement for such a server ? Not much. 1. Enough disk space to hold the growing repository 2. Connected to the Internet (hopefully with a firewall :) 3. Apache (to allow for web-based repository access, which is easier to maintain) Here's a link with a discussion on the subjec

Re: [twsocket] ICS on SourceForge, which license is best ?

2007-10-08 Thread [EMAIL PROTECTED]
ks and the original (i.e. modified versions cannot be claimed to be the original). The only thing missing is the postcard condition :) -dZ. >--- Original Message --- >From: Francois PIETTE[mailto:[EMAIL PROTECTED] >Sent: 10/8/2007 2:59:47 PM >To : t

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread [EMAIL PROTECTED]
--QUOTE: Arno Garrels It's the latter, however the point when V6 has been split from the common base is already some years back and hard to restore. There will be no new features in V5 so merging between V5 and V6 is most likely not required. Also revision numbers are incremented for the entire pro

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread [EMAIL PROTECTED]
Currently I don't plan to put ICS-SSL on SourceForge. I also wouldn't recommend it, until that time when you release it as open source (if ever you intend to do so). Still, it wouldn't hurt at all to set up SVN in your local machine to maintain the source :) -dZ. -- To unsubscribe or chang

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread [EMAIL PROTECTED]
who are not used to version control systems. -dZ. >--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] >Sent: 10/8/2007 1:03:09 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] Using SourceForge for ICS ? > &g

Re: [twsocket] TWSocketThrdServer stuck in destructor loop whenkilling threads

2007-10-04 Thread [EMAIL PROTECTED]
>> Change this. Its from top of my head so can be syntax errors. You have >> to move the destroy of the server also in the Execute mehod: Thank you, Wilfried; that worked like a charm. Now, since all exceptions are being swallowed by the TWSocket component, if I need to kill the entire app from,

[twsocket] TWSocketThrdServer stuck in destructor loop when killing threads

2007-10-04 Thread [EMAIL PROTECTED]
Hello: I'm having a problem with the TWSocketThrdServer. My application has a worker thread that contains a TWSocketThrdServer member to handle all incoming requests. When the main thread finishes, it sends a WM_QUIT message to the worker thread, which then finishes and frees the TWSocketThrdS

Re: [twsocket] Using SourceForge for ICS ?

2007-10-03 Thread [EMAIL PROTECTED]
> Yes, and TortoiseSVn looks like a very cool > and powerfull tool on the first glance! It is. I don't need nor care about BDS integration anymore; I do all manipulations of the source files through the Explorer shell using TortoiseSVN. It even overlays the folder/file icons with symbols of the

Re: [twsocket] TWSocketThrdServer - BogusOnDataAvailabletriggeredwhen Closed.

2007-10-03 Thread [EMAIL PROTECTED]
> > I think the problem is that in TCustomWSocket.InternalClose the message > > pump is called > > I think you right about that. As I recall CloseDelayed was introduced if > it was needed to Close from in one of the events. Most likely that was > the reason. So should I call CloseDelayed() or

Re: [twsocket] TWSocketThrdServer - Bogus OnDataAvailabletriggeredwhen Closed.

2007-10-03 Thread [EMAIL PROTECTED]
> > Close() ultimately calls Shutdown(1) -- so wouldn't it have the same > > effect? > > As I recall not exacly the same. Close calls Shutdown(1) and close the > socket. If you call Shutdown(1) the socket will not be immediatly close, > but if there is still some data it will be send, and the othe

[twsocket] TWSocketThrdServer - Bogus OnDataAvailable triggered when Closed.

2007-10-02 Thread [EMAIL PROTECTED]
Hello: I'm using TWSocketThrdServer and processing client data from within the OnDataAvailable event handler (client is set to LineMode=True). I've noticed that if the data transaction is completed and I call Client.Close from within this event, the event is called again with the previous Rece

Re: [twsocket] Using SourceForge for ICS ?

2007-10-02 Thread [EMAIL PROTECTED]
sistance you may need. -dZ. >--- Original Message --- >From: Francois PIETTE[mailto:[EMAIL PROTECTED] >Sent: 10/2/2007 12:55:22 PM >To : twsocket@elists.org >Cc : >Subject : RE: [twsocket] Using SourceForge for ICS ? > >Hello Guys ! I'm considerin

Re: [twsocket] Cancelling TWSocketServer client connection

2007-10-01 Thread [EMAIL PROTECTED]
age --- >From: Francois PIETTE[mailto:[EMAIL PROTECTED] >Sent: 10/1/2007 12:35:46 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] Cancelling TWSocketServer client connection > >At the time OnClientCreate is called, the socket is not assigned ye

Re: [twsocket] Another BCB2007 compatibility problem (of demos)

2007-10-01 Thread [EMAIL PROTECTED]
RAD Studio 2007 brings ICS? Is it in the additional components, or as part of the default distribution? -dZ. >--- Original Message --- >From: Francois PIETTE[mailto:[EMAIL PROTECTED] >Sent: 10/1/2007 12:19:57 PM >To : twsocket@elists.org >Cc : &g

[twsocket] Cancelling TWSocketServer client connection

2007-10-01 Thread [EMAIL PROTECTED]
Hello: I am performing a series of steps when a new client connection is received (in the OnClientCreate event handler) which may cause the connection to become invalid (or unwelcomed, for various reasons). What would be the best way to drop the client session at this point? Calling Client.Cl

Re: [twsocket] TWSocketThrdServer graceful shutdown

2007-09-28 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] > > Isn't this list great? Where else do you get faster support for > free software? Yes, it is. Thank you both for your quick responses. -dZ. -- To unsubscribe or change your s

Re: [twsocket] TWSocketThrdServer graceful shutdown

2007-09-28 Thread [EMAIL PROTECTED]
Mestdagh[mailto:[EMAIL PROTECTED] >Sent: 9/28/2007 12:03:57 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] TWSocketThrdServer graceful shutdown > >Hello dz, Just call Close method. server will stop listening. Note that calling Close will not stop

[twsocket] TWSocketThrdServer graceful shutdown

2007-09-28 Thread [EMAIL PROTECTED]
Hello: I using TWSocketThrdServer in a server application and was wondering if there is a recommended method to call for a graceful shutdown -- one that will stop listening when all current connections are completed. Thanks, -dZ. -- To unsubscribe or change your settings for TWSoc

[twsocket] TWSocket multi-client example

2007-09-26 Thread [EMAIL PROTECTED]
Hello: I need to write a TService application that will receive (potentially) multiple client TCP connections concurrently, and perform some simple stateful transactions with them. For example: 1. Client-A connects to the server 2. Server responds with banner 3. Client-A sends data 4. Client-

Re: [twsocket] httpcli v6 "bad request"

2007-04-20 Thread [EMAIL PROTECTED]
#x27;m sorry for dragging this on, but I just don't understand the push for solving "the redirection" issue as a special case. If you think we've gone off-topic, feel free to reply by personal e-mail. Thanks -dZ. >--- Original Message --- >From: Franc

Re: [twsocket] httpcli v6 "bad request"

2007-04-20 Thread [EMAIL PROTECTED]
Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] >Sent: 4/20/2007 10:41:53 AM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] httpcli v6 "bad request" > >[EMAIL PROTECTED] wrote: >> --- Original Message --

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread [EMAIL PROTECTED]
it will leave it alone, give it one with funky characters and it will encoded it). -dZ. >--- Original Message --- >From: Frans van Daalen[mailto:[EMAIL PROTECTED] >Sent: 4/19/2007 3:58:57 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re:

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Francois PIETTE[mailto:[EMAIL PROTECTED] >Sent: 4/19/2007 2:46:48 PM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] httpcli v6 "bad request" > >>> Agreed, so we need a FAST rou

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread [EMAIL PROTECTED]
ve already been encoded by the application externally. -dZ. >--- Original Message --- >From: Frans van Daalen[mailto:[EMAIL PROTECTED] >Sent: 4/19/2007 6:54:57 AM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] httpcli v6 "bad re

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread [EMAIL PROTECTED]
>--- Original Message --- >From: Arno Garrels[mailto:[EMAIL PROTECTED] >Sent: 4/19/2007 6:37:09 AM >To : twsocket@elists.org >Cc : >Subject : RE: Re: [twsocket] httpcli v6 "bad request" > No idea, I can only see that the send header i

[twsocket] TWSocket and TWSocketServer TCP Header (full packet)

2007-03-24 Thread [EMAIL PROTECTED]
hi to all community, I'm in trouble about a problem: is it possible to get FULL TCP PACKET (Header + Data)?? In "OnDataAvaiable" event I've got just the Data but nothing about Sequence_Number, Flags, IDs etc..etc.. Thx in advance -Antony- --

Re: [twsocket] SMTP connection limit

2007-03-08 Thread [EMAIL PROTECTED]
ldn't matter that much to the user. -dZ. >--- Original Message --- >From: Veit Zimmermann[mailto:[EMAIL PROTECTED] >Sent: 3/8/2007 6:42:03 AM >To : twsocket@elists.org >Cc : >Subject : RE: [twsocket] SMTP connection limit > >Hi Are ther

[twsocket] FTPClient specifying a port other than 21...

2007-03-01 Thread [EMAIL PROTECTED]
Thanks for the previous posts. I guess the bottom line is, does FTPClient work with other ports besides port 21 for the version last revised: Apr 18, 2003. I am currently using Delphi 3? I have tried specifying other ports but receive the message 10060 on a file transmit as previously report

  1   2   >