Re: [twsocket] Multi-Threaded THttpServer?

2006-11-18 Thread Dan
Have the client only retry after 10 seconds. There is a header you can send to get the client to refresh to a new URL after so many seconds. Many sites use it for redirects...they redirect after 5 seconds for example. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [twsocket] Flow control

2006-11-19 Thread Dan
your random is arriving at (or did I misinterpret?) so what else can you do except keep buffering it, or error? You could write your own buffering to disk I suppose... Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angus Robertson - Magenta Systems Ltd

Re: [twsocket] Throttling solution - Integrate Dan's throttler into ICS?

2006-12-20 Thread Dan
Sorry for the late reply. I still have about 200 messages to catch up on since I took a break. I haven't converted it to V6 yet but I plan to in the future. You are welcome to try before me :) Regards, Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On B

Re: [twsocket] WinSock error 10035 with TWSocketServer

2007-01-17 Thread Dan
ther than a reference), it will return null/nil if Sender isn't really a TWSocketClient, and the code should then check for this. An alternative is to use a reference: TWSocketClient& Client = dynamic_cast(Sender); which will throw an exception if Sender isn't a TWSocketClient at runtime.

Re: [twsocket] WinSock error 10035 with TWSocketServer

2007-01-17 Thread Dan
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: 17 January 2007 22:12 > To: twsocket@elists.org > Subject: Re: [twsocket] WinSock error 10035 with TWSocketServer > > Hi Dan, > >

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-25 Thread Dan
I thought it was figured out that dynamically unloading and reloading the dll was the problem, which other components probably don't do, and I think you were given a workaround that worked...to load it manually so that the loaded count always stays above 0 and it remains loaded.

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Dan
ething like this (may contain syntax errors but you get the idea): bool initSomething() { // your initialisation code here return true; } static bool dummyBool = initSomething(); Dan -- 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

Re: [twsocket] Questions about FTPClient

2007-03-31 Thread Dan
I've > > set the > > keepalivesecs to 60. Should I change any other property? > > So obviously those keepalive packets do not reset the timeout (where > ever it happens) however sending some bytes may help, see above. > Try sending the NOOP command perio

Re: [twsocket] Questions about FTPClient

2007-03-31 Thread Dan
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Arno Garrels > Sent: 31 March 2007 12:24 > To: ICS support mailing > Subject: Re: [twsocket] Questions about FTPClient > > Dan wrote: > >> So obviously those keepalive

Re: [twsocket] Questions about FTPClient

2007-03-31 Thread Dan
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Arno Garrels > Sent: 31 March 2007 13:57 > To: ICS support mailing > Subject: Re: [twsocket] Questions about FTPClient > > Dan wrote: > >> -Original Message

Re: [twsocket] Using SourceForge for ICS ?

2007-10-04 Thread Dan
I've moved to SVN for all my projects. Its definitely superior to CVS. Glad you are finally choosing to use version control :) you wont regret it. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 02 October 2007 17:

Re: [twsocket] Using SourceForge for ICS ?

2007-10-04 Thread Dan
oth, you have to accept > the "never lock, always merge" mechanism but it comes naturally after > about 15 minutes of using it. > > If you have any question, please do not hesitate to contact me. > Cheers > Olivier > SVN does actually support locking files

Re: [twsocket] A TFtpCli application performance question

2007-10-16 Thread Dan
y you're going to achieve a decent speed is by using multiple connections. (or changing protocol :) - if you don't need to specifically support FTP servers, have a look at rsync - not sure if the protocol is open, but it supports pipelining and zlib compression making it very fast). Dan

Re: [twsocket] Very strange error (Windows or my application?)

2007-10-20 Thread Dan
minated! I cannot > control > the server anymore..! The only solution is to remote reboot. Any idea > what > could cause this? > > Best Regards, > > SZ Acquited? It sounds like the DDoS is causing it. Talk to your ISP about getting firewalled further upstream. Dan -- To u

Re: [twsocket] [OT] Merry Christmas !

2008-01-01 Thread Dan
Happy new year everybody! Dan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Maurizio Lotauro > Sent: 25 December 2007 11:38 > To: ICS support mailing > Subject: Re: [twsocket] [OT] Merry Christmas ! > > Scrive Francois

Re: [twsocket] router and IP

2005-03-17 Thread Dan
Why do you need your local IP address, why can't you bind to IP 0.0.0.0? Dan - Original Message - From: "rogersmail" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, March 17, 2005 1:15 AM Subject: Re: [twsocket] router and IP Also the websit

Re: [twsocket] how exclusive is twsocketclient

2005-03-18 Thread Dan
Francois said, its exclusive for current connections, but I'm sure you already knew that, but be very careful as it can be the same address as a previously free'd client. Dan -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailma

Re: [twsocket] RE2: FTPClient Get-Command-Problem on UNIX-Server

2005-03-29 Thread Dan
Let me highlight part of the original reply "you need to set the Binary property to TRUE or FALSE ***and call the method TypeSet***" Dan - Original Message - From: "Mice Cage" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 29, 2005 2:39 PM Subject: [twsocket]

Re: [twsocket] Question: Does FTPCli creates a INI-file including theserverdata in cleartext?

2005-03-29 Thread Dan
No, that ini file is not created by ICS. Dan - Original Message - From: "Mice Carg" <[EMAIL PROTECTED]> To: "ICS support mailing" Cc: Sent: Tuesday, March 29, 2005 11:05 PM Subject: [twsocket] Question: Does FTPCli creates a INI-file including theserverdata i

Re: Re[2]: [twsocket] Is there a way to setup a valuefor maximal downloadspeed?

2005-04-10 Thread Dan
You can have a look at and try to modify/improve my throttling code: http://www.xantorrent.pwp.blueyonder.co.uk/ics/uThrottledWSocket.pas Dan - Original Message - From: "Mice Cage" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, April 10, 2005

Re: Re[2]: [twsocket] Is there a way to setupa valuefor maximal downloadspeed?

2005-04-10 Thread Dan
Hehe, unfortunately, its a little more difficult than that...you'll need to derive your own TFTPClient and make it use TThrottledWSocket internally instead of TWSocket. Make sure this is for the data connection too, the control connection shouldn't need throttling. Dan - Origin

Re: Re[2]: [twsocket] Is there a waytosetupa valuefor maximal downloadspeed?

2005-04-12 Thread Dan
stead of a nomal WSocket, then setting your ClientClass in the FTPServer and setting your Throttler for each client appropriately. I've included a modified FtpSrv demo. Let me know if I missed any files out required to get it working. Dan - Original Message - From: "Francois PIETT

Re: [twsocket] Is there a way to download a file in threads?

2005-04-13 Thread Dan
progress event or whatever you use, check if you have received enough data from that connection and close the data socket it if you have (you might receive slightly more than you wanted for that connection but who cares). Dan - Original Message - From: "Moacir Flávio Gonçalves&quo

Re: [twsocket] Is there a way to download a file in threads?

2005-04-13 Thread Dan
true or not though. Dan -- 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

Re: [twsocket] Multithreaded http...

2005-04-13 Thread Dan
Do you really need threads? ICS is asynchronous so multiple components can work in a single thread without blocking each other. Dan - Original Message - From: "Flash Thunder" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 13, 2005 8:31 PM Subject: [twsocket] Multithrea

[twsocket] ThrottledWSocket

2005-04-13 Thread Dan
. Dan -- 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

Re: [twsocket] Multithreaded http...

2005-04-13 Thread Dan
; Is there something that i dont understand? :-( Ann... I dont think www.google.com returns a page, it simply sends a country specific redirection as a Location header. For example, when I request it, it redirects me to www.google.co.uk. Try that and you should get the page. Dan -- To unsubscribe

Re: [twsocket] Can the TWSocket use the Http proxy?

2005-04-15 Thread Dan
This was answered only a few days ago send "CONNECT ip:port" wait for 200 reply. Dan - Original Message - From: "赵亦平" <[EMAIL PROTECTED]> To: "twsocket" Sent: Friday, April 15, 2005 8:46 AM Subject: [twsocket] Can the TWSocket use the Http proxy?

Re: Re[2]: [twsocket] Is there a waytosetupa valuefor maximaldownloadspeed? (wrong link)

2005-04-15 Thread Dan
rrent.pwp.blueyonder.co.uk/ics/ThrottledFTPSrv.zip) where is the correct :( ? thanks I combined it with the throttledwsocket in the zip here: http://www.xantorrent.pwp.blueyonder.co.uk/ics/ThrottledWSocket.zip Dan -- To unsubscribe or change your settings for TWSocket mailing list please goto htt

Re: Re[4]: [twsocket] Multithreaded http...

2005-04-20 Thread Dan
(Sender).RcvdStream.Seek(0,soBeginning); StringList.LoadFromStream(THTTPCli(Sender).RcvdStream); //Use StringList... Stringlist.Free; You are getting the access violation because you didnt allocate the stream before starting the request. Dan. - Original Message - From: "Ann" <[EM

Re: [twsocket] Reasonable timeout

2005-04-23 Thread Dan
ducts overriding the system default, Im not sure, but I think Indy can have a user-defined timeout...maybe its only possible for blocking sockets, but someone could check their sourcecode and see what they do. Dan - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Dan
Can you list to a MemoryStream just to rule out permissions problems. Dan - Original Message - From: "Nikolay Simeonov" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Tuesday, April 26, 2005 11:58 AM Subject: RE: [twsocket] FTP client and win

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Dan
when I use the same unit in a Service I'm getting false when I call the DIR function. If the windows program was crashing I would easier debug it but in the service I cannot go step by step through the component's sources. You can use Attach to Process in the Delphi IDE. Dan -- To unsubsc

Re: [twsocket] Redirection? [HTTPCli]

2005-04-29 Thread Dan
If i would like to make some exploit, i would use socks, not htttp. Haha, funniest mailing list post of the year. Dan -- 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

Re: [twsocket] ReadLine

2005-05-02 Thread Dan
? Greetings Markus Hehe, TTimer relies on messages also. Dan -- 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

Re: [twsocket] Sending video data via UDP

2005-05-06 Thread Dan
ed something like inet_addr. That will get you the IP, and you will also want htons when assigning the port (to convert from host byte order to network byte order). Sorry if my doubts are very basic, but I am learning about your component and I ever sent video via internet :) That's it..

Re: [twsocket] [FTP Client] - Files started with dot

2005-05-10 Thread Dan
Use LIST -al Dan - Original Message - From: "Artem Antonov" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, May 10, 2005 12:16 PM Subject: [twsocket] [FTP Client] - Files started with dot Hello, how I can get list of files, started with dot (

Re: [twsocket] [FTP Client] - Files started with dot

2005-05-10 Thread Dan
I agree, there should be a listing standard. But a lot of FTP servers these days try to immitate the UNIX listing, and quite a few support the -al parameter, so its worth a try. Dan - Original Message - From: "Francois Piette" <[EMAIL PROTECTED]> To: "ICS s

Re: [twsocket] [HELP] FTPServer and building directory event

2005-05-11 Thread Dan
en doing a distributed ftp server. Dan - Original Message - From: "Guillaume MAISON" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, May 11, 2005 2:49 PM Subject: Re: [twsocket] [HELP] FTPServer and building directory event This is a very com

Re: Re[2]: [twsocket] Use same component for both sending and receiving

2005-05-12 Thread Dan
ket sending to detect were server is located and then server answer back an udp packet so the client machine know server's IP address and can connect to server automatically. Regards. Yea, just use one TWSocket. Have it Listen, the use ReceiveFrom and SendTo. Dan -- To unsubscribe or ch

Re: [twsocket] Reuse Port ( TIME_WAIT )

2005-05-12 Thread Dan
;s just how TCP works...old sockets are left in the TIME_WAIT state for some amount of time, it's nothing to worry about. If you really don't want them then you could use persistent connections. The header is something like Connection: Keep-Alive. Dan -- To unsubscribe or change you

Re: [twsocket] Get List Of Files From Dir [FTPClient]

2005-05-12 Thread Dan
http://www.smatters.com/ics/ has quite a good unit for parsing FTP directory output. Dan - Original Message - From: "Fredrik Bergstrцm" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, May 12, 2005 1:16 PM Subject: Re: [twsocket] Get List Of File

Re: Re[2]: [twsocket] Get List Of Files From Dir [FTPClient]

2005-05-12 Thread Dan
I believe C++ Builder can compile or import .pas files. But I have no idea how you do it. Dan - Original Message - From: "Fredrik Bergstrцm" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, May 12, 2005 3:27 PM Subject: Re[2]: [twsocket]

Re: [twsocket] Disconnect from FTP Server [FTP Client]

2005-05-16 Thread Dan
NOOP is a good one. Dan - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, May 16, 2005 2:44 PM Subject: Re: [twsocket] Disconnect from FTP Server [FTP Client] >Winsock nor the component will let you

Re: [twsocket] Threaded client?

2005-05-17 Thread Dan
- Original Message - From: "Jack" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, May 17, 2005 9:09 PM Subject: [twsocket] Threaded client? Hello Francois and all, I saw a thread server sample in ICS package but did not see any sample for threaded client. I understand that

Re: [twsocket] Telnet

2005-05-24 Thread Dan
I think you will need to pass the handle as a stdin handle using CreateProcess, rather than just passing an integer on the command line. Otherwise, the handle will be specific to your server process and invalid in the client process. Dan - Original Message - From: "Arnoldo - Opt

Re: [twsocket] Http proxy tunneling?

2005-06-07 Thread Dan
. Dan - Original Message - From: "Jack" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, June 07, 2005 8:24 PM Subject: [twsocket] Http proxy tunneling? I saw http proxy tunneling (connect through http proxy servers that support CONNECT method) me

Re: [twsocket] MimeDecode

2005-07-02 Thread Dan
ts are stripped of in this mailing list. Please upload it somewere then it can be tested by some people. I think he meant he called the function with the file attached to an email as the argument to that function. Don't think he meant he attached it to this email. Dan -- To unsubscr

Re: [twsocket] Monitoring TCP/IP traffic

2005-07-13 Thread Dan
RAW sockets were introduced with Windows 2K and are only usable by Administrator accounts. I don't think they're trying to remove them. Dan - Original Message - From: "Angus Robertson - Magenta Systems Ltd" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 13,

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Dan
Use Try and Except. Try WSocket1.Listen; Except On E: Exception Do Memo1.Lines.Add('Error when listening: '+E.Message); End; - Original Message - From: "Wesley Spadola" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, July 15, 2005 11:11 AM Subject: Re: [twsocket] Bind Ex

Re: [twsocket] FTP from one server to another

2005-08-05 Thread Dan
and they connect and transfer between themselves. This means you dont need to handle throttling different connections and also means you dont waste your client bandwidth. Dan - Original Message - From: "Rob Verhoef" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 03, 2

Re: [twsocket] TSyncSmtpCli - ConnectSync results in 10004 error

2005-08-09 Thread Dan
Its something to do with an interrupted call...maybe its a firewall or something doing the blocking but its configured to allow Outlook Express? Dan - Original Message - From: "Boxer" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 09, 2005 3:28 PM Subject: [twsock

Re: [twsocket] NOOP

2005-08-10 Thread Dan
Most servers will respond to a NOOP during a transfer. Not sure if the FTP Client component lets you send one though...might give you a busy exception. Not sure of the best way around this, might have to derive your own component to do it. Dan - Original Message - From: "Roland

Re: [twsocket] TPop3Cli is halted while receiving a message over 4Mb

2005-08-11 Thread Dan
Theres a very good, and free one called Analyzer that uses WinPCap. There used to be a link from the winpcap page, not sure if its still there. Dan - Original Message - From: "Stanislav Korotky" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursda

Re: [twsocket] Httpserver and threads

2005-08-16 Thread Dan
(JPeg.Height * ar); >ResizeJPeg(JPeg, nx, ny); > end; > > JPeg.SaveToStream(ms); > JPeg.Free; > C.DocStream := ms; Did you forget ms.position := 0; I'm not sure if its needed or not. > C.AnswerStream(Flags, '', 'image/jpeg', ''); > end; > Dan -- 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

Re: [twsocket] [FTPCli] - Quote Method

2005-08-17 Thread Dan
> > But from FTP server I get: > > 16.08.2005 10:36:17 - Executing requested command... >> chmod 644 test.txt > < 500 'CHMOD': command not understood. > Request 33 done > Status code = 500. > > How I can set file attributes or where is I am wrong? > >

Re: [twsocket] component question

2005-08-17 Thread Dan
ersion. > You can easily to a search and replace of your int64 by FtpInteger. > If there are any StrToInt make sure they are change to StrToInt64 too. Dan -- 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

Re: [twsocket] NOOP workaround

2005-08-18 Thread Dan
It can be useful if connecting through a socks proxy, since some disconnect you after 60 seconds of inactivity for example, so you can't let the control connection be idle whilst transferring. Dan - Original Message - From: "Angus Robertson - Magenta Systems Ltd" &l

Re: [twsocket] Hi, I've a question

2005-08-19 Thread Dan
Yes, it looks that way. Therefore, the problem is that he is processing it before checking he has received it all, as Guillaume said. Dan - Original Message - From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, August 19

Re: [twsocket] Transfer with UDP

2005-08-19 Thread Dan
alisation, rather than repeatedly in the the data available handler. But like others, I'm not convinced you need UDP. Dan -- 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

Re: [twsocket] Hi, I've a question

2005-08-19 Thread Dan
- Original Message - From: "Juan Pablo Franco" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, August 19, 2005 5:34 PM Subject: Re: [twsocket] Hi, I've a question > Hi Dan, > > I understand you, but the problem is that the paint pr

Re: [twsocket] Transfer with UDP

2005-08-20 Thread Dan
- Original Message - From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, August 20, 2005 8:39 AM Subject: Re: [twsocket] Transfer with UDP > Hello Dan, > >>> Buffer : array [0..5] of char; > &g

Re: [twsocket] Bandwidth control

2005-08-21 Thread Dan
http://www.xantorrent.pwp.blueyonder.co.uk/ics/ThrottledWSocket.zip Has ThrottledWSocket and ThrottledFTPSrv. Should be easy to do the same for HTTP. Dan - Original Message - From: "David A. G." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, Au

Re: [twsocket] Bandwidth control

2005-08-22 Thread Dan
As in uploading to the ftp server? I'll look into it. Dan - Original Message - From: "David A. G." <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, August 22, 2005 2:09 AM Subject: Re: [twsocket] Bandwidth control > Dan, > >

Re: [twsocket] Bandwidth control

2005-08-23 Thread Dan
throttling code but I think it needs your socket code to be in a separate thread. If thats ok for your purposes its probably the better option. Dan - Original Message - From: "Darin McGee" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, August 22,

Re: [twsocket] Difference between LocalAddr and Addr

2005-08-24 Thread Dan
. > >> 2. How to find an open port to send and receive from? > > Just try and check for error "address already in use" exception. Alternatively, if you just want a temporary random port to listen on you can specify port 0. The OS will then assign an unused port. There

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-29 Thread Dan
he >THttpCli). > >IMHO, >From what I've been reading, it sounds like a good solution. Keeps the whole thing extensible for many different encoding methods. Dan -- 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

Re: [twsocket] Download time

2005-08-31 Thread Dan
e tick taken in milliseconds. Are you using cable or some form of DSL? Maybe the modem has a way to get the connection speed, via snmp or by looking at its configuration pages. Dan -- 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

Re: [twsocket] FTPClient speeds

2005-09-01 Thread Dan
and seek > support and extending it so it can write to other streams shouldn't be > difficult. > I thought windows buffered writes anyway? Is this so you can have a larger buffer or something completely different? Dan -- To unsubscribe or change your settings for TWSocket maili

Re: [twsocket] NO_ADV_MT symbol

2005-09-03 Thread Dan
- Original Message - From: "Francois Piette" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, September 02, 2005 12:30 PM Subject: Re: [twsocket] NO_ADV_MT symbol >> > IMO it is better design to have all access to a given >> > component from only one thread. And in that case,

Re: [twsocket] How can i Change Time mode

2005-09-06 Thread Dan
- Original Message - From: "Marwan" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 06, 2005 9:56 AM Subject: Re: [twsocket] How can i Change Time mode > Thanx i want a Delphi or API function to change mode time--- On Tue > 09/06, Barnard Peter < [EMAIL PROTECTED] > wrote:From:

Re: [twsocket] TnEmulVT: Number Rows - Important!!!!

2005-09-06 Thread Dan
I am sorry to have upset to you. > Yes, seem to be some communication problems. I think he is looking for the telnet escape sequence to notify the server that the terminal size has changed. Maybe it is in the telnet rfc, I'm not sure. Dan -- To unsubscribe or change your settings fo

Re: [twsocket] 64-bit FTP support

2005-09-06 Thread Dan
linked rather than int64 version, so I had to code my own Seek64 > function. > ... Are you sure you were using soBeginning, soEnd etc. instead of soFromBeginning, soFromEnd. I had this problem when I started using int64 streams and that was the solution. Dan -- To unsubscribe or ch

Re: [twsocket] 64-bit FTP support

2005-09-07 Thread Dan
pass soBeginning, it is a TSeekOrigin so it uses the Int64 version. At least in my experience. I think it should be better documented. Dan -- 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

Re: [twsocket] [TMimeDec] Beta version to test

2005-09-09 Thread Dan
Ok, you guys need to chill. I agree with both of you, bugs need to be fixed (and documented if they change the usage of the component) and new bugs shouldnt be introduced (missing message parts). Yes, I know my points are common sense. Just chill. Dan - Original Message - From

Re: [twsocket] multiple nics and broadcasts

2005-09-16 Thread Dan
Use ReceiveFrom, then use the IPHelper API to find out which network it came from based on the IP address. Dan - Original Message - From: "Kenny Mah" <[EMAIL PROTECTED]> To: Sent: Friday, September 16, 2005 3:50 PM Subject: [twsocket] multiple nics and broadcas

Re: [twsocket] Connecting and sending in a thread

2005-09-22 Thread Dan
calls WSocket.Send to send that data. Then you don't have to worry about multithreaded sockets. Dan -- 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

Re: [twsocket] Pop-up downloads

2005-09-22 Thread Dan
ink to it from the WinPCap pages. Dan -- 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

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Dan
If you have an access violation you must be trying to access some invalid memory. Debug it to find out where it occurs and figure out why. Dan - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday,

Re: [twsocket] OnClientDataAvailable

2005-10-03 Thread Dan
, isClient lets you pass a pointer/object and will return true if its a client of the twsocketserver. Dan -- 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

Re: [twsocket] Socket one to one

2005-10-08 Thread Dan
listen: Socket.Listen; and when a connection comes in (SessionAvailable) you accept it: Socket.HSocket := Socket.Accept; Then the connection is established. Dan -- 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

Re: [twsocket] Fw: Sync THttpConnection derivative

2005-10-12 Thread Dan
You can attach to running process in Delphi to debug a service. Dan - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, October 11, 2005 10:30 AM Subject: Re: [twsocket] Fw: Sync THttpConnection

Re: [twsocket] Fw: Sync THttpConnection derivative

2005-10-13 Thread Dan
Sounds like a race condition. Stepping through the code slows the debugged thread and stops it occurring. Dan - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, October 12, 2005 9:34 AM Subjec

Re: [twsocket] [ICS] mmorpg capacity question

2005-11-02 Thread Dan
eresting > for a lot of people. > Yes, a lot of people seem to get confused over a '10 maximum connections limit' but this relates only to inbound connections to windows file sharing, not tcp/ip connections in general. I think for sockets you are limited only by RAM.

Re: [twsocket] HTTP compression

2005-11-25 Thread Dan
your 28th August version. > But at least everything is now consolidated. > Has Francois considered using CVS or something similar for ICS? Could come in very handy, you could maintain the normal and SSL branches and could merge fixes across both. Dan -- To unsubscribe or change your setti

Re: [twsocket] HTTP compression

2005-11-27 Thread Dan
go back to old versions. Dan - Original Message - From: "Maurizio Lotauro" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, November 26, 2005 12:00 AM Subject: Re: [twsocket] HTTP compression > On 25-Nov-05 10:03:07 Dan wrote: > > [...] &g

Re: [twsocket] TWSocket.Dup() ?

2006-01-07 Thread Dan
ected then mylocalsocketref.sendstr('easy'); The socket keeps track of its connected status, you dont need to use a separate variable. And if you know the object is a TWSocket, there is no reason to use Pointer, use TWSocket. Dan - Original Message - From: "Michael Preslar"

Re: [twsocket] Throttling for THttpConnection

2006-01-15 Thread Dan
http://www.xantorrent.pwp.blueyonder.co.uk/ics/ThrottledWSocket.zip has some example throttling code. Only uses one timer and throttles all your connections to one limit. No sleeping involved. Dan - Original Message - From: "Fastream Technologies" <[EMAIL PROTECT

Re: [twsocket] Throttling for THttpConnection

2006-01-15 Thread Dan
throttler to multiple sockets and they will share that limit. Dan - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, January 15, 2006 2:33 PM Subject: Re: [twsocket] Throttling for THttpConnection > T

Re: [twsocket] TFtpClient - Quit never returns when not connected!

2006-01-15 Thread Dan
- Original Message - From: "Cremaschi Marco - MEDICAE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, January 15, 2006 2:00 PM Subject: Re: [twsocket] TFtpClient - Quit never returns when not connected! > Hallo, I've a problem using TftpClient. > I can't obtain a connection

Re: [twsocket] Bandwidth control TFtpClient

2006-01-18 Thread Dan
I think theres already one in my zip, but Im not 100% sure. Dan - Original Message - From: "Peter Feldbaumer" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, January 18, 2006 3:30 PM Subject: Re: [twsocket] Bandwidth control TFtpClient

Re: [twsocket] databuffer is cut off

2006-01-18 Thread Dan
ert > -- > 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 Neither of those are ICS components. This probably isn't the best list for your question. Yo

Re: [twsocket] HTTP POST - SendStream With TMemoryStream

2006-01-19 Thread Dan
Derive your own stream, probably best to be from TFilestream, but add a header property or something. Then override the seek and read methods (I think) to either seek into the file or into your header, and to read appropriate data. Dan - Original Message - From: "Opqrst

Re: [twsocket] Port Access

2006-01-24 Thread Dan
Dont you connect to port 60500 instead of listening on it? Something is already listening on that port. Dan. - Original Message - From: "David Lewis" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, January 24, 2006 10:16 AM Subject: [twsocket]

Re: [twsocket] Absnormal disconnection

2006-01-24 Thread Dan
he connection every now and again. Like a ping, but in your protocol. Dan -- 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

Re: [twsocket] THttpConnection throttling problem with timer

2006-01-29 Thread Dan
I seem to recall a similar thing happening for my throttledwsocket. I think I fixed it by setting the option NoReceiveLoop (not sure of the name, but you know what I mean). Maybe your problem is related, worth a try. Dan - Original Message - From: "Fastream Technologies&quo

Re: [twsocket] Clarification on asynchronus and threads

2006-02-01 Thread Dan
ceive handler, other events cant be triggered for other sockets because no message pump is running. You should keep your event handlers speedy, or if if you cant, move the processing to another thread. Dan -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] Fast Pings ! -> C++ :-(

2006-02-12 Thread Dan
- Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Sunday, February 12, 2006 7:23 AM Subject: Re: [twsocket] Fast Pings ! -> C++ :-( >> I've seen in the usermade. But the code is in Delphi, > > There is not much differences between Delphi an

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-19 Thread Dan
ividually. I don't know if this is a bug that was once fixed, but I remember having to do it when I first started using TWSocket (years ago), and have done ever since. Dan > > If you don't use line mode, then you must design your protocol the way you > like. Basically, your rec

Re: [twsocket] UDPServer receive and IP

2006-02-20 Thread Dan
Server.ReceiveFrom(@Buffer, SizeOf(Buffer), Src, SrcLen); > > ShowMessage(inet_ntoa(Src.sin_addr)); // i know the IP address of the > remote pc > Note: Dont use showmessage in the event handler. Dan -- To unsubscribe or change your settings for TWSocket mailing list please goto h

  1   2   >