Login  
Search All Forums
Dart Home | PowerTCP SSL for ActiveX | Custom Development Reply | PowerTCP SSL for ActiveX Topics | Forums   
AuthorForum: PowerTCP SSL for ActiveX
Topic: Upgrade to .Net version?
fhfung

From: FO TAN, Hong Kong
Posts: 2
Member Since: 03/06/08
posted March 6, 2008 10:28 PM

Hi,
 I would like to upgrade it from ActiveX to .net version. What is the benefit in running efficient and any code change? Thanks.

Regards,

Raymond
Arjun

From: Rome, NY, USA
Posts: 137
Member Since: 09/17/07
posted March 7, 2008 10:04 AM

Hello Raymond,

Unfortunately I am not clear about what you mean by "any code change". Therefore I would request you to please provide me with more information.

Also I would suggest you to refer the link below which gives the complete information on SSL for .Net:
http://www.dart.com/ptsknet.aspx

Regards,
Arjun
Arjun

From: Rome, NY, USA
Posts: 137
Member Since: 09/17/07
posted March 7, 2008 10:09 AM

Sorry mentioned the wrong link by mistake. Please refer the link below:
http://www.dart.com/ptsslnet.aspx

Regards,
Arjun
fhfung

From: FO TAN, Hong Kong
Posts: 2
Member Since: 03/06/08
posted March 9, 2008 10:08 PM

Ths for your response. I would like to know the difference on the performance of both ActiveX and .Net version. Now, I am use .send and .receive to communicate with the target server for SSL encrypted message transfer in your ActiveX version. If I upgrade it to .Net version, do I need to rewrite it? Ths.
Arjun

From: Rome, NY, USA
Posts: 137
Member Since: 09/17/07
posted March 10, 2008 12:52 PM

We do have the Send and Receive methods in the .Net version. Please find below a sample code snippet:

Tcp1.Connect("atropos", 7)
Dim sendbuffer() As Byte = System.Text.Encoding.Default.GetBytes("abcdefg")
' Send some bytes.
Tcp1.Send(sendbuffer)
Dim recvbuffer(sendbuffer.Length) As Byte
' Server will echo the bytes back. Receive the bytes.
Tcp1.Receive(recvbuffer)
' Close the connection.
Tcp1.Close()

Regarding the performance comparison, as the .Net product takes the advantage of the .Net classes, we can develop applications to take the advantage of the .Net object oriented techniques to increase the performance.

Regards,
Arjun
Reply | PowerTCP SSL for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX