EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Windows Phone sample?

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#19825
Posted: 04/17/2012 21:43:20
by L haitao (Basic support level)
Joined: 04/17/2012
Posts: 16

in TElSimpleSSLClient implements .I want to konw how can i sent some data and receive some data
like the sample Server\SSLSocketDemo\Client
( forexample
byte[] length = new byte[4];
int m_length = 45;
m_length = IPAddress.HostToNetworkOrder(m_length);

length = BitConverter.GetBytes(m_length);
sslClient.Send(length);
int len = sslClient.Receive(receiveBuf);
)
sorry my english is not very well,I'm Chinese
#19827
Posted: 04/17/2012 23:01:35
by L haitao (Basic support level)
Joined: 04/17/2012
Posts: 16

anyone can help me ?
#19829
Posted: 04/18/2012 00:07:13
by Eugene Mayevski (EldoS Corp.)

I don't understand - did you actually check the sample that Vsevolod has referenced?


Sincerely yours
Eugene Mayevski
#19830
Posted: 04/18/2012 01:31:23
by L haitao (Basic support level)
Joined: 04/17/2012
Posts: 16

Thanks very muck
your mean that
the sample (C#\SSLBlackbox\Client\SimpleSSLClient)can help me implement that's function?
#19831
Posted: 04/18/2012 01:38:20
by Eugene Mayevski (EldoS Corp.)

Looks like you didn't check the sample ... Please do and you will find the answer to your questions.


Sincerely yours
Eugene Mayevski
#19832
Posted: 04/18/2012 03:01:31
by L haitao (Basic support level)
Joined: 04/17/2012
Posts: 16

Thanks my dear friends
I will try and do
...
#19847
Posted: 04/19/2012 05:05:40
by L haitao (Basic support level)
Joined: 04/17/2012
Posts: 16

I did it but
There is err
when SecureClient.Open()

the err is

Message=Connection failed (error code is 75782)
ErrorCode=75782
StackTrace:
at SBSimpleSSL.TElCustomSimpleSSLClient.Open()

Why?
I have check the sample
C#\SSLBlackbox\Client\SimpleSSLClient
#19848
Posted: 04/19/2012 05:12:55
by Vsevolod Ievgiienko (EldoS Corp.)

75782 stands for ERROR_SSL_HANDSHAKE_FAILURE. Are you able to connect to the server using desktop sample or you get the same error?
#19854
Posted: 04/19/2012 09:10:32
by L haitao (Basic support level)
Joined: 04/17/2012
Posts: 16

yes
I Can able to connect the server
using the sample
C#\SSLBlackbox\Client\SimpleSSLClient
#19855
Posted: 04/19/2012 09:28:34
by Vsevolod Ievgiienko (EldoS Corp.)

I've just checked that TElSimpleSSLClient works on WindowsPhone without any problems.

You should try to connect to any other server and check if the same error occurs.
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Reply

Statistics

Topic viewed 30065 times

Number of guests: 2, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!