27 lines
391 B
C#
27 lines
391 B
C#
|
using System;
|
|||
|
using System.Net;
|
|||
|
namespace SharpMining
|
|||
|
{
|
|||
|
public class StratumListener
|
|||
|
{
|
|||
|
IPEndPoint endpoint;
|
|||
|
|
|||
|
|
|||
|
public StratumListener(IPEndPoint endpoint)
|
|||
|
{
|
|||
|
this.endpoint = endpoint;
|
|||
|
this.initialize();
|
|||
|
}
|
|||
|
|
|||
|
public StratumListener(IPAddress bind,int port){
|
|||
|
this.endpoint = new IPEndPoint(bind, port);
|
|||
|
this.initialize();
|
|||
|
}
|
|||
|
|
|||
|
private void initialize(){
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|