Re: [twsocket] Check Remote Port

2016-07-21 Thread Dod
Hello, Why don't you use events ? ICS is so good event oriented. regards. ccg> Hello, ccg>Is there any easier way to check if a port is open on a remote server ccg> at runtime ? ccg> var ccg>SocketError: Integer; ccg> procedure TForm1.SessionConnected(Sender: TObject; ErrCode: Word); c

Re: [twsocket] ICS reaches 20 years !

2016-03-28 Thread Dod
Hello François, Hey man we'll have to find special postcard for that ;-) FP> Hi ! FP> FP> I’m proud to say that ICS reaches 20 years next month. FP> FP> -- FP> francois.pie...@overbyte.be FP> The author of the freeware multi-tier middleware MidWare FP> The author of the freeware Inter

Re: [twsocket] how to use ICS correctly

2016-01-27 Thread Dod
Hello Simon, I don't know if you do lengthy operations but if yes you should use a worker thread to let the main socket thread always available. regards. SL> Am currently using ICS for a large chat system but now my service SL> is getting bigger am starting to worry I not really done the SL> so

Re: [twsocket] SMTP - relay or MTA example

2016-01-10 Thread Dod
Hello Stephen, Yes database is used but only for server and user's accounts configuration, e-mails are stored into separated text files. And in fact it is pretty cool to have user accounts in database as you can do easy extraction/changes/stats. regards. SD> Thanks for link, but seem

Re: [twsocket] SMTP - relay or MTA example

2016-01-10 Thread Dod
Hello Stephen, Yes this is what I am talking about the slow down message that receiver can send back to the server according to 3 facts : - the number of SMTP connections at same time - the number of e-mail within an amount of time - the number of recipients per single mail some other protection

Re: [twsocket] SMTP - relay or MTA example

2016-01-09 Thread Dod
Hello, And if you are looking for a SMTP/IMAP/POP3 server only (I mean no extra modules like webmail client interface, stats analysis module...) I do like opensource hMailServer that can also be controlled thru COM interface. https://www.hmailserver.com/ regards. >> Currently setup is with

Re: [twsocket] SMTP - relay or MTA example

2016-01-09 Thread Dod
ry mail rejection error is for, gently asking the sender to retry slower. regards. SD> Dod: I don't know much about SPF checks, but we have identified SD> one of the errors as 'too many concurrent connections', and this is one that I'm trying to fix. SD> Stephen Dickason

Re: [twsocket] SMTP - relay or MTA example

2016-01-08 Thread Dod
I may also have a question, you say marked as SPAM because you send mails too fast, this is an unsusual behavior, because a server "flooded" will reject yor e-mail or block your e-mail with some 4.2.x "slow down" temporary error. Are you sure you are not impacted by a SPF check ? >> I

Re: [twsocket] HTTPCLI for WebSocket connection ?

2016-01-05 Thread Dod
Hello Angus, Sure I was not asking for any development ;-) Right now I handle it thru WebSocket, and manage enough of websocket protocol for the need I have to communicate with an internal server I have to deal with. THTTPCli descendant should be OK. For what I learned until now it would n

Re: [twsocket] HTTPCLI for WebSocket connection ?

2016-01-05 Thread Dod
Hello Angus, For people who want to understand how WebSocket protocol works I found a this very interesting and crystal clear article : http://lucumr.pocoo.org/2012/9/24/websockets-101/ regards. >> I am attempting THttpCli adding specific HTTTP Headers to see it works ARMSL> There are THttpCli

Re: [twsocket] Problem changing LineEnd before full buffer reading

2016-01-04 Thread Dod
Hello, OK not a big deal now I know it's a bug and not a bad usage on my side, I can manage it. Thanx. >> I am in front of a strange behavior and would like to know if it is >> because of a misuse or a bug (using ICS V8 WSocket) >> R> Probably a bug in the unit OverbyteIcsWSocket? R> function

[twsocket] Problem changing LineEnd before full buffer reading

2016-01-04 Thread Dod
Hello, I am in front of a strange behavior and would like to know if it is because of a misuse or a bug (using ICS V8 WSocket) I am inside a TWebSocket.OnDataAvailable with LineEnd set to CRLF (two chars). I received a data packet containing many lines, the first lines are standard CRLF lin

Re: [twsocket] HTTPCLI for WebSocket connection ?

2016-01-04 Thread Dod
Hello, First of all, happy new year to all ICS lovers ;-) Well I think I said victory too soon, in fact the socket stay connected but no event is triggered by ICS, OnDataPush, OnDataPush2, OnDocData, OnDocBegin, none of them triggers, sniffing the network show data reception from w

Re: [twsocket] ICS FTP RECURSIVE FOLDER UPLOAD EXEMPLE

2015-12-30 Thread Dod
Hello, Basic THttpCli seems to handle WebSocket quite well (at least in reception mode), I added the correct headers and now I receive data sent time-to-time by the server. Have to check how long THttpCli keep the connection opened without any flow coming from server and how to send b

Re: [twsocket] HTTPCLI for WebSocket connection ?

2015-12-30 Thread Dod
Hello Angus, Yes I already googled around before asking and found this server side source code but found no client side inside it, the client example is only .html web browser side. I am attempting THttpCli adding specific HTTTP Headers to see it works the only thing is to keep THttCli opene

[twsocket] HTTPCLI for WebSocket connection ?

2015-12-30 Thread Dod
Hello, Do somebody already used THttpCli as HTTP WebSocket client or should I use more level TWSocket and handle all the HTTP protocol myself ? regards. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visi

Re: [twsocket] Post data lost

2013-10-12 Thread Dod
Hello, This is not new fact, AV containing Network layer filtering may have bad impact over network performances and also can change data content on-the-fly (especially on HTTP/POP/SMTP protocols). But take care that deactivating is sometimes not enought, depending AV the way they deactivate i