|
Forums -> Security Library Forum
Socket features NOT SUPPORTED by SecureSocket |
|
|
by Demez Christophe [cdemez2 at hotmail dot com] posted on 2006/01/27 |
|
Hi,
In the article at :
http://msdn.microsoft.com/msdnmag/issues/05/08/HighPerformanceSockets/
The do this :
-------------
for (int i = 0; i < 10; i++)_serverSocket.BeginAccept(new AsyncCallback(AcceptCallback), _serverSocket);
Why ?
-----
Read the article please, it is to allow to support a lot of connections.
Problem
-------
The SecureSocket do not support it !
Only one accept :-( |
by Demez Christophe [cdemez2 at hotmail dot com] posted on 2006/01/27 |
|
See this link, it is the code of the article :
http://msdn.microsoft.com/msdnmag/issues/05/08/HighPerformanceSockets/default.aspx?fig=true#fig3
Check for "Asynchronous Server" |
by Dmytro posted on 2006/02/16 |
|
Wait a minute, so you are saying that you can fix it in the library? can you post chunks of code?
From my understanding I think the library does support multi-threaded connections, just a bit slow on encryption part, thats all. |
|
|