Re: [twsocket] FTPCli: Lose Socks settings in DataSocket on Close

2008-08-27 Thread Dan F
repeatedly sending the command, but will mean you don't have to worry about the wrong type being set, as long as the binary property is set as you want before an operation. Dan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Anton Sviridov >

Re: [twsocket] TWSocket.Send timing

2008-05-13 Thread Dan F
ing Winsock socket sends the data. As far as I know it shouldn't cause the TWSocket send call to take longer since that is asynchronous isn't it? Please correct me if I'm wrong. Dan -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

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] 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] 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] 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] 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] 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] 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
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] 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] 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] 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] 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] 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] 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] 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] IP Plug and Play or IPV6

2006-10-22 Thread Dan
your router to forward incoming connections isn't that significant, since it can easily connect outwards, or delete your data anyway... Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 22 October 2006 17:03 To: ICS support maili

Re: [twsocket] FtpCli upload problem

2006-09-21 Thread Dan
Not sure why it happens, but to guard against this I would do a SIZE command on the remote file after uploading it, then check if it matches the local file size before deleting it. SIZE is supported by every FTP server I have used, although I'm not sure if its in the initial FTP RFC.

Re: [twsocket] complex problem, probably not ICS related

2006-09-15 Thread Dan
Try disabling your thread sleeping (the thread that reads from the StringList). Does your stringlist get all the the requests? i.e. is TWSocket receiving them and your code parsing and putting them in the list correctly? Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [twsocket] Interesting connect problem

2006-09-14 Thread Dan
Implement your own timeout using a timer. I think calling abort on the WSocket should cancel the connection attempt. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erich Kuba Sent: 14 September 2006 01:32 To: ICS support mailing Subject: [twsocket

Re: [twsocket] bytes lost with PUT FTP

2006-09-12 Thread Dan
Possibly a transfer mode error. Make sure you are transferring in binary mode. Note: I think you need to set a property to make the client component not modify end of lines AND send the binary command to the server. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [twsocket] TCP question

2006-09-03 Thread Dan
The HTTP server in ICS will handle receiving the whole request before you handle it. You can ignore buffering if you are just using the http server component. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kris Leech Sent: 03 September 2006 11:38

Re: [twsocket] FTP resuming transfers

2006-09-01 Thread Dan
. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 31 August 2006 20:34 To: ICS support mailing Subject: Re: [twsocket] FTP resuming transfers >> Do you mean it could be smaller than his previous size >> when resuming

Re: [twsocket] Connect() time out

2006-08-02 Thread Dan
Maybe you could leave the current socket and use a new one for your next attempt? Then simply free the old one when it finishes the connect (probably with a winsock connection timeout error). Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max

Re: [twsocket] UDP Socket Range Error

2006-08-02 Thread Dan
Somebody else requested that the debug messages be conditionally defined so you can probably expect that soon. As for the problem, I think you could just turn off range checking for your project for the time being. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [twsocket] Converting from Indy - UDP Send - DNS caching

2006-08-01 Thread Dan
There won't be any connection/disconnection problems because you are using UDP. Calling connect on a UDP socket just sets up a default recipient for the packets you send, no actual connection occurs. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beha

Re: [twsocket] Converting from Indy - UDP Send - DNS caching

2006-08-01 Thread Dan
Why not open the socket at the start, then just call WSocket.SendStr when you want to send something. Yes, you need to add #13#10 if your receiver needs it, calling SendStr does not add this for you. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [twsocket] Very strange problem with server and client software[thanks]...

2006-07-31 Thread Dan
ForHeloResponse; Etc. When I receive the reply to HELO that state should be set, because nothing could call the message pump. I think you have a bug somewhere if you are getting the response before. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hoby

Re: [twsocket] ICS v6 enhanced tcp server challenge

2006-07-23 Thread Dan
I haven't used it because I'm way too busy at the moment, but thanks for making this publicly available, it sounds excellent. And if I haven't said it before, thanks to Francois for giving us ICS in the first place. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-11 Thread Dan
Maybe you have only detected the disconnection of the data socket and the control socket will follow that? I'm not sure how disconnections with the data socket are handled. Maybe someone else knows? Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beha

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-11 Thread Dan
(that will lead to even more problems) Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnold FLUTEAUX Sent: 11 July 2006 08:35 To: twsocket@elists.org Subject: Re: [twsocket] Problem with FTPClient when a shutdown I cut off the server, then an error

Re: [twsocket] UDP Concept doubt

2006-07-03 Thread Dan
uffer higher than the default if you aren’t receiving the full datagrams. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Fleming Bonilha Sent: 03 July 2006 13:42 To: twsocket@elists.org Subject: [twsocket] UDP Concept doubt Hello Everyone! I

Re: [twsocket] ZeroWindow

2006-06-27 Thread Dan
a time. When you get OnDataSent send the next few KB. This also avoids filling WSockets buffers up too much and wasting memory. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of emanuele bizzarri Sent: 27 June 2006 17:25 To: ICS support mailing

Re: [twsocket] WSocket - HOW DO I...?

2006-06-25 Thread Dan
You can then use WSockets linemode. Set the end of line character to #04. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Waldemar Lukaszewski Sent: 25 June 2006 09:21 To: ICS support mailing Subject: Re: [twsocket] WSocket - HOW DO I...? Ok

Re: [twsocket] WSocket - HOW DO I...?

2006-06-24 Thread Dan
output is important to your environment. " Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Waldemar Lukaszewski Sent: 24 June 2006 16:04 To: ICS support mailing Subject: Re: [twsocket] WSocket - HOW DO I...? It's a standard header. No addit

Re: [twsocket] WSocket - HOW DO I...?

2006-06-22 Thread Dan
RCON usually uses UDP (at least in my experience with Half-Life). You probably need to increase the buffer size of the socket so that all the data is included in a single datagram. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Waldemar Lukaszewski

Re: [twsocket] HTTPCli and non-default network interface?

2006-06-01 Thread Dan
I think you can set LocalAddr the the IP of the interface you want to use. Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Waldemar Lukaszewski Sent: 01 June 2006 21:14 To: twsocket@elists.org Subject: [twsocket] HTTPCli and non-default network

Re: [twsocket] [ICS-SSL] Looking for a consultant to make ICSv6support BCB2006

2006-05-29 Thread Dan
It's generally a bad idea to use the using directive in header files. You should use the full name of any identifiers. Eg. Overbyteicslibrary::WM_QUIT Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fastream Technologies Sent: 29 May 2006 12:

Re: [twsocket] BCB support for ICSv6(-SSL)

2006-05-13 Thread Dan
I've installed BDS2006 and I will have a go aswell. Dan - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "SSL implementation for ICS" <[EMAIL PROTECTED]>; Sent: Thursday, May 11, 2006 3:19 PM Subject: [twsocket] BCB supp

Re: [twsocket] BCB support for ICSv6(-SSL)

2006-05-13 Thread Dan
uld be useful if more than a handful people would work on the > source... > CVS would be great, even if only one person works on the source...because it means you can always go back to previous versions. It makes life easier because you dont have to mess around with multiple zips of different v

Re: [twsocket] FTP Error 10060 and 10061..

2006-04-27 Thread Dan
Sounds like the new router has a firewall built in and it rejecting/dropping packets. Its worth a check. Dan - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, April 26, 2006 9:31 PM Subject: [twsocket] FTP Error 10060 and 10061.. > > We have be

Re: [twsocket] ICS 6 Bug - Memory Leak

2006-04-25 Thread Dan
I think the destructor of TIcsWndHandler should be responsible for freeing it. Its labelled FOwnerList, and the F usually means its private, so other classes shouldnt have to manually free it. Dan - Original Message - From: "Éric Fleming Bonilha" <[EMAIL PROTECTE

Re: [twsocket] THttpCli and UPnP devices

2006-04-04 Thread Dan
is possible to request WinSock for an > available port that I can use (just like you get a port when using > Connect()) ? As an alternative to what Angus suggested, you could continue to listen but specify port 0. The OS will then assign an unused port. There is a winsock call you can

Re: [twsocket] THttpCli and UPnP devices

2006-04-02 Thread Dan
Dont use connect, just use listen, but use SendTo to send the packet. This lets you specify the address. Dan - Original Message - From: "Kris Schoofs" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Sunday, April 02, 2006 10:46 AM Subje

Re: [twsocket] THttpCli and UPnP devices

2006-03-30 Thread Dan
You will need to alter the HTTP component to use UDP. I have used UPnP for port forwarding before but always used Windows XP NAT Traversal API rather than controlling devices manually. Should be completely possible though. Dan - Original Message - From: <[EMAIL PROTECTED]> To:

Re: [twsocket] Making a MT HTTP Server -- NEED HELP!

2006-03-23 Thread Dan
- Original Message - From: "Dan" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Thursday, March 23, 2006 11:47 AM Subject: Re: [twsocket] Making a MT HTTP Server -- NEED HELP! > Tried installing them in delphi but got errors with undeclared identifiers

Re: [twsocket] Making a MT HTTP Server -- NEED HELP!

2006-03-23 Thread Dan
Tried installing them in delphi but got errors with undeclared identifiers for all the authentication stuff. I must be using an older version of ICS than you. Dan - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing&qu

Re: [twsocket] Odd Behaviour

2006-03-20 Thread Dan
minute or so, you wont be able to transfer a file during that period. For a single user, transferring large files, 10 ports should be enough, but if you start transferring many tiny files, or get many users, you may run into problems. Dan - Original Message - From: "Allan Fern

Re: [twsocket] Odd Behaviour

2006-03-18 Thread Dan
nd=5015 > You need a bigger data port range than that. This will allow only one data transfer (can be a file listing) then you will have problems with ports being in time_wait state, so having no available ports. Dan -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] Problem with v6 BCB package

2006-02-27 Thread Dan
I didn't think #defines followed namespaces, thought they were always global. Could be wrong... Dan - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, February 27, 2006 2:19 PM Subject: Re:

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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] [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] 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] 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] 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] 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] 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] 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] 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] 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] [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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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-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] 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] 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-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
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] 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] 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] [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] 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] 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] 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] 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

  1   2   >