Hello all,
If I have server and client component at one side,
server and client component at the other side
Side A: TWSocketServer and TWSocket == Acts as client
Side B: TWSocketServer and TWSocket == Acts as server
Side A connects automatically to the site B because site A is acting as client
I would like to use the same port which the site A uses when it connects
to the site B.
Yes, you can have a same listening port at both sides.
--
francois.pie...@overbyte.be
http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
I would like to use the same port which the site A uses when it connects
to the site B.
Yes, you can have a same listening port at both sides.
Thanks for the response.
Yes,
I know I can listen same ports but my question is,
can I do that at Site A without opening any ports at the
I would like to use the same port which the site A uses when it connects
to the site B.
Yes, you can have a same listening port at both sides.
Thanks for the response.
Yes,
I know I can listen same ports but my question is,
can I do that at Site A without opening any ports at the
The use only one socket and make all communications over that unique
connection. No other choise in your situation.
Thanks Francois,
Please do correct me if I am wrong.
Now,
You are saying that it is not possible to have only server port opened, I
need to open port 443 in both sites.
Site
Please do correct me if I am wrong.
Now,
You are saying that it is not possible to have only server port opened, I
need to open port 443 in both sites.
Site A port 443 need to be open from PC and from the firewall.
Site B port 443 need to be open from PC and from firewall.
No, I didn't meant
Dear Arno,
Is it possible to have a date when you think that the bandwidth control
will be available
for POST method in HttpCli component ?
I need this option, and my boss asks me if I can have a date when this
option will be available.
Many thanks for your help,
Sincerely,
Bruno
Le
Bruno Mannina wrote:
Dear Arno,
Is it possible to have a date when you think that the bandwidth
control will be available
for POST method in HttpCli component ?
Currently I cannot give you a date, I'm still rather busy. I do not
need this feature in my own projects, so any work on that was
(I am using SSL sockets in both sites)
Why you insist in use SSL if the client and server applications are
coded by you?!! Why use a standard that only exist because of the need
to connect many different implementations of clients to many different
implementations of servers?
You will be
RTT wrote:
(I am using SSL sockets in both sites)
Why you insist in use SSL if the client and server applications are
coded by you?!! Why use a standard that only exist because of the need
to connect many different implementations of clients to many different
implementations of servers?
(I am using SSL sockets in both sites)
Why you insist in use SSL if the client and server applications are
coded by you?!! Why use a standard that only exist because of the need
to connect many different implementations of clients to many different
implementations of servers?
You will be much
Thanks Arno,
Your answer is just a music to my ears :)
RTT wrote:
(I am using SSL sockets in both sites)
Why you insist in use SSL if the client and server applications are
coded by you?!! Why use a standard that only exist because of the need
to connect many different implementations of
SSL/TLS aktually uses common, powerful and strong encryption algorithms.
However secure peer to peer communication is much more than just that.
SSL security includes, for instance, peer verification and protects
against Man in the Middle attacks.
Man in the Middle attacks don't work if the
RTT wrote:
SSL/TLS aktually uses common, powerful and strong encryption
algorithms. However secure peer to peer communication is much more
than just that. SSL security includes, for instance, peer
verification and protects against Man in the Middle attacks.
Man in the Middle attacks don't
Hi,
I'm trying to create nested virtual document names like for example:
/Admin/Serverinfo
I created an URLHandler for that
HttpAppSrv.AddGetHandler('/Admin/ServerInfo', TUrlHandlerAdmin);
Images for web page are contained in {docroot}/images directory
In the template document I use relative path
I found AddGetAllowedPath in demo project.
Is that something to to do with this?
What is it doing?
Not much comment about it in the source.
Peter
Hi,
I'm trying to create nested virtual document names like for example:
/Admin/Serverinfo
I created an URLHandler for that
I am trying to send a jpg from delphi's tjpgImage to a client with the
tHTTPServer component.
Would like to keep it in a memory stream and not save to disk, but AnswerStream
is not what it sounds like.
Searched the archives but found little that was close to what I wanted.
Still using ICS 5.
Ok, it is working now.
Just some missing slashes in path caused trouble.
Peter
I found AddGetAllowedPath in demo project.
Is that something to to do with this?
What is it doing?
Not much comment about it in the source.
Peter
--
To unsubscribe or change your settings for TWSocket mailing
Hi Edwin,
AnswerStream is just perfect for that.
Here is how I send png. It is stored in FpngStream, which is also a
TMemoryStream.
I dont want it to be destroyed after sent. That is why I create an other
memory stream and copy
then content.
ClientCnx.DocStream := TMemoryStream.Create;
Man in the Middle attacks don't work if the man in the middle
don't know how to handle the encrypted data/protocol he is
intercepting.
True, and how do you manage that is not happening?
Can't be happening because the man in the middle can't generate valid
data, or alter intercepted data
In HttpAppServer, URLHandler
Call Client.AnswerPage(Flags,'','','template.html',nil,['SOMEKEY','A']);
The value of SOMEKEY must be one character long.
Result rendered in html page:
Unsupported TVarRec.VType = vtWideChar
Steps to reproduce in demo:
Modify TUrlHandlerHomePageHtml to pass just
RTT,
First,
I am not building a bank system where I would need extremely high security.
It is a very simple monitoring system.
SSL is okay for this as far as I am concerned.
You may be right or may not.
For me the mosty important here is to learn one thing at a time.
If I listen you,
I have to
Arno, in FtpCli unit there's quite large piece of code
{$IFDEF UseBandwidthControl}
FBandwidthCount := 0; // Reset byte counter
if ftpBandwidthControl in FOptions then begin
if not Assigned(FBandwidthTimer) then
FBandwidthTimer :=
RTT:
Why you insist in use SSL if the client and server applications are
coded by you?!! Why use a standard that only exist because of the need
to connect many different implementations of clients to many different
implementations of servers?
It's easy to implement encryption but you'll have
24 matches
Mail list logo