검증 개발 중

This commit is contained in:
2016-07-26 09:30:43 +09:00
parent ab2181747f
commit 35165922c4
6 changed files with 128 additions and 28 deletions

View File

@@ -88,6 +88,8 @@ namespace upper_limit_crawler
{
try
{
UlUtil.Trace("TimeSync trying [server:{0}]", server);
// Connect to the server (at port 13) and get the response
string serverResponse = string.Empty;
using (var reader = new StreamReader(new System.Net.Sockets.TcpClient(server, 13).GetStream()))
@@ -199,6 +201,11 @@ namespace upper_limit_crawler
//WebLog(m_strLogServer, strLog);
}
public static void Trace(string strMsg, params object[] args)
{
Trace(string.Format(strMsg, args));
}
public static int GetLimitRemainCountTrace()
{
return m_CPUtil.GetLimitRemainCount(CPUTILLib.LIMIT_TYPE.LT_TRADE_REQUEST);