|
|
|
@ -89,10 +89,11 @@ namespace WebSocketSharp.Net
|
|
|
|
internal EndPointListener (
|
|
|
|
internal EndPointListener (
|
|
|
|
IPAddress address,
|
|
|
|
IPAddress address,
|
|
|
|
int port,
|
|
|
|
int port,
|
|
|
|
bool reuseAddress,
|
|
|
|
|
|
|
|
bool secure,
|
|
|
|
bool secure,
|
|
|
|
string certificateFolderPath,
|
|
|
|
string certificateFolderPath,
|
|
|
|
ServerSslConfiguration sslConfig)
|
|
|
|
ServerSslConfiguration sslConfig,
|
|
|
|
|
|
|
|
bool reuseAddress
|
|
|
|
|
|
|
|
)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (secure) {
|
|
|
|
if (secure) {
|
|
|
|
var cert = getCertificate (port, certificateFolderPath, sslConfig.ServerCertificate);
|
|
|
|
var cert = getCertificate (port, certificateFolderPath, sslConfig.ServerCertificate);
|
|
|
|
|