| Dart Home | PowerTCP Sockets for .NET | Custom Development | Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
| Author | Forum: PowerTCP Sockets for .NET (Secure and Standard) Topic: Is my data being sent to server Encrypted? |
| adobe From: Jacksonvill, TN USA Posts: 6 Member Since: 06/22/09 |
posted June 25, 2009 8:44 AM I am just starting off here... I have UseAuthentication = False until I get a better handle on this. I am sending data over to my server like this: Tcp1.Connect(IPAddress, port) If Tcp1.Stream.CanWrite And Tcp1.Stream.CanRead Then Dim sendbuffer() As Byte = Encoding.ASCII.GetBytes(fullXMLString) Tcp1.Send(sendbuffer) If waitForResponse Then 'Keep receiving until the connection is closed Do While (Tcp1.Connected) Dim seg As Segment = Tcp1.Receive() CurrentResponseString += seg.ToString() Loop So my data goes over to the server and sends my requested data back. Is my data going over to the server encrypted? I have another developer in another state that is working on the RPG Server Side programming and has set that to receive SSL data over but I have a feeling that it isn't being encrypted at all. |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted June 25, 2009 1:15 PM If you haven't set the SecureProtocol property on the TCP control then you are right, the connection is not encrypted. However this also means that the server you are connecting to isn't requiring an SSL connection or you wouldn't be able to connect. You can try setting the SecureProtocol to Auto to attempt to negotiate the SecureProtocol to use but if the server doesn't require an SSL connection then it will negotiate None, which is the default. |
| adobe From: Jacksonvill, TN USA Posts: 6 Member Since: 06/22/09 |
posted June 25, 2009 1:28 PM I have set the SecureProtocol to auto. I did try sending him a request over the old way using a regular tcp client I would get three squares back. So it lead me to believe that he has code on his side. |
| Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted June 25, 2009 1:45 PM Niecole, please email all pre-sale questions to support@dart.com. The technical department will respond to your current post via email. Thank you. |
| Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|