| 12345678910111213141516171819202122232425262728 | 
							- #include "stdafx.h"
 
- #include "LNContext.h"
 
- CLNContext::CLNContext()
 
- {
 
- }
 
- CLNContext::~CLNContext()
 
- {
 
- }
 
- void CLNContext::addresses(const ACE_INET_Addr& remote_address, const ACE_INET_Addr& local_address)
 
- {
 
- 	auto ip_addr = local_address.get_ip_address();
 
- 	auto strIp = local_address.get_host_addr();;
 
- 	if (ip_addr != 0x7F000001)
 
- 		int ii = 0;
 
- 	SPDLOG_ERROR("new connection: {}:{} local:{}:{}", remote_address.get_host_addr(), remote_address.get_port_number(), 
 
- 		strIp, local_address.get_port_number());
 
- }
 
- void CLNContext::handle_time_out(const ACE_Time_Value& tv, const void* act /*= 0*/)
 
- {
 
- 	int ii = 0;
 
- }
 
 
  |