[twsocket] SocketSpy (2nd request)

2011-01-20 Thread richard
Hi All, I have done a cbuilder translation of Mr. Mestdagh's SpocketSpy program. But, I have a problem. When I run the program and try to connect with a server, I get this immediate error: "An unknown response was received in response to a request for information from the news server 'SocketSp

[twsocket] x64 adaptation

2011-01-20 Thread Anton S.
I recently reviewed all my projects to be ready to x64 (replaced things like Integer(Pointer) ) and also checked code of some components I use. The main idea is not to cast pointers/handles to integer/cardinal as they may exceed 4 bytes on x64 systems. Emb-ro introduced two new types: Native(U)In

Re: [twsocket] SslWSocketServer GET REMOTE COMPUTER NAME

2011-01-20 Thread Francois PIETTE
I have asked because I have found --> "GetPeerName" in the component and wondering if possible. In socket terminologye (in general, not specific to ICS), "peer name" is the IP, port and protocol used by the remote. -- francois.pie...@overbyte.be The author of the freeware multi-tier middlewa

Re: [twsocket] SslWSocketServer GET REMOTE COMPUTER NAME

2011-01-20 Thread daniel cc
Thanks Francois, Your answer makes the ComputerName issue easier for me. The network will be controlled. Users won't be able to use duplicated names on their computers. I have asked because I have found --> "GetPeerName" in the component and wondering if possible. -- To unsubscribe or chan

Re: [twsocket] SslWSocket client KeepAlive

2011-01-20 Thread daniel cc
Have you tried searching all the ICS files, you will find it is used. Or use Goggle, this is simple TCP programming, nothing specific to ICS. Yes, I did and plenty of it. There are none documents which tells about how to in ICS and there are very few for Winsock. I won't be able of doing a

Re: [twsocket] SslWSocketServer GET REMOTE COMPUTER NAME

2011-01-20 Thread Francois PIETTE
Is there any built in procedure for getting the remote computer’s name? Yes and not. As you know you can get the remote IP address and having that IP, you can do a ReverseLookup to find out the hostname, if any, corresponding to that IP. A hostname (IP networking) is NOT a computer name (Wind

[twsocket] FTPCli problem.

2011-01-20 Thread Antol
Hello Twsocket, I use the latest ICS v7 distributive. The problem happens on [not my] WinXP system with slow DSL connection. I cannot reproduce it on other PCs, so I gave that user a special version that writes logs to file. The problem is as follows: when the file is completely upl

Re: [twsocket] SslWSocket client KeepAlive

2011-01-20 Thread Angus Robertson - Magenta Systems Ltd
> Do we have any samples of keepalive? Have you tried searching all the ICS files, you will find it is used. Or use Goggle, this is simple TCP programming, nothing specific to ICS. > or do I just have to figure out how? Already answered twice. > I won't be able of doing anything with out samp

Re: [twsocket] SslWSocket client KeepAlive

2011-01-20 Thread daniel cc
Thanks Angus, I now your answers of yesterday but, What are these for? 1) KeepAliveInterval = ? 2) KeepAliveOnOff = ? 3) KeepAliveTime = ? Are they there for what? Do we have any samples of keepalive? or do I just have to figure out how? I have never done anything like this before and loo

Re: [twsocket] SslWSocket client KeepAlive

2011-01-20 Thread Angus Robertson - Magenta Systems Ltd
> What are the right parameters of the component for keeping the > client alive, You asked this yesterday, and I answered. The KeepAliveOnOff parameters of the component are not necessarily reliable, it's better to send your own packets that you can see, particularly as you are creating your own

[twsocket] SslWSocket client KeepAlive

2011-01-20 Thread daniel cc
Hello, What are the right parameters of the component for keeping the client alive, 1) KeepAliveInterval = ? 2) KeepAliveOnOff = ? 3) KeepAliveTime = ? What I would like to know is, What do you normally use and what is the best? Do you keepalive the connection by pinging the host or send me