|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SocketServerLib.Server;
namespace AsyncClientServerLib.Server
{
/// <summary>
/// Basic Socket Server. Implements the AbstractSocketServer class. The socket client handler class is BasicSocketClientHandler.
/// </summary>
public class BasicSocketServer : AbstractSocketServer
{
/// <summary>
/// Return a BasicSocketClientHandler instance.
/// </summary>
/// <param name="handler">The socket client handler</param>
/// <param name="sslStream">The ssl stream</param>
/// <param name="sendHandleTimeout">The send timeout</param>
/// <param name="socketSendTimeout">The socket timeout</param>
/// <returns>The socket client handler</returns>
protected override SocketServerLib.SocketHandler.AbstractTcpSocketClientHandler GetHandler(System.Net.Sockets.Socket handler, System.Net.Security.SslStream sslStream)
{
return new AsyncClientServerLib.SocketHandler.AsyncSocketClientHandler(handler, sslStream);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I’m an IT Project Manager for an Italian Betting Company and over the last 2 years I acquired experience in Betting area.
I have developed code in different object oriented languages (C#, C++, Java) for more than 10 years using a set of technology such as .Net, J2EE, multithreading, etc…