| 
						 
						
						
						
						 
					 | 
					 | 
					@@ -1,6 +1,6 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# Guan is an open-source python package developed and maintained by https://www.guanjihuan.com/about (Ji-Huan Guan, 关济寰). The primary location of this package is on website https://py.guanjihuan.com. GitHub link: https://github.com/guanjihuan/py.guanjihuan.com.
 | 
					 | 
					 | 
					 | 
					# Guan is an open-source python package developed and maintained by https://www.guanjihuan.com/about (Ji-Huan Guan, 关济寰). The primary location of this package is on website https://py.guanjihuan.com. GitHub link: https://github.com/guanjihuan/py.guanjihuan.com.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# The current version is guan-0.1.10, updated on November 02, 2023.
 | 
					 | 
					 | 
					 | 
					# The current version is guan-0.1.11, updated on November 02, 2023.
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# Installation: pip install --upgrade guan
 | 
					 | 
					 | 
					 | 
					# Installation: pip install --upgrade guan
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					
					| 
						
					 | 
					 | 
					@@ -4904,6 +4904,7 @@ def statistics_of_guan_package():
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        import socket
 | 
					 | 
					 | 
					 | 
					        import socket
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        import guan
 | 
					 | 
					 | 
					 | 
					        import guan
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        message_calling = guan.get_calling_function_name(layer=3)
 | 
					 | 
					 | 
					 | 
					        message_calling = guan.get_calling_function_name(layer=3)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        current_version = get_current_version('guan')
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if message_calling == '<module>':
 | 
					 | 
					 | 
					 | 
					        if message_calling == '<module>':
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            datetime_date = guan.get_date()
 | 
					 | 
					 | 
					 | 
					            datetime_date = guan.get_date()
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            datetime_time = guan.get_time()
 | 
					 | 
					 | 
					 | 
					            datetime_time = guan.get_time()
 | 
				
			
			
		
	
	
		
		
			
				
					
					| 
						
					 | 
					 | 
					@@ -4911,14 +4912,14 @@ def statistics_of_guan_package():
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            client_socket.settimeout(0.5)
 | 
					 | 
					 | 
					 | 
					            client_socket.settimeout(0.5)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            client_socket.connect(('py.guanjihuan.com', 12345))
 | 
					 | 
					 | 
					 | 
					            client_socket.connect(('py.guanjihuan.com', 12345))
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            message = guan.get_calling_function_name(layer=2)
 | 
					 | 
					 | 
					 | 
					            message = guan.get_calling_function_name(layer=2)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            send_message = datetime_date + ' ' + datetime_time + ' version_0.1.10 guan.' + message+'\n'
 | 
					 | 
					 | 
					 | 
					            send_message = datetime_date + ' ' + datetime_time + ' version_'+current_version+' guan.' + message+'\n'
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            client_socket.send(send_message.encode())
 | 
					 | 
					 | 
					 | 
					            client_socket.send(send_message.encode())
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            client_socket.close()
 | 
					 | 
					 | 
					 | 
					            client_socket.close()
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            client_socket2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 | 
					 | 
					 | 
					 | 
					            client_socket2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            client_socket2.settimeout(0.5)
 | 
					 | 
					 | 
					 | 
					            client_socket2.settimeout(0.5)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            client_socket2.connect(('py.guanjihuan.com', 12345))
 | 
					 | 
					 | 
					 | 
					            client_socket2.connect(('py.guanjihuan.com', 12345))
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            mac_address = get_mac_address()
 | 
					 | 
					 | 
					 | 
					            mac_address = get_mac_address()
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            send_mac_address = 'version_0.1.10 MAC_address: '+mac_address+'\n'
 | 
					 | 
					 | 
					 | 
					            send_mac_address = 'version_'+current_version+' MAC_address: '+mac_address+'\n'
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            client_socket2.send(send_mac_address.encode())
 | 
					 | 
					 | 
					 | 
					            client_socket2.send(send_mac_address.encode())
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            client_socket2.close()
 | 
					 | 
					 | 
					 | 
					            client_socket2.close()
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    except:
 | 
					 | 
					 | 
					 | 
					    except:
 | 
				
			
			
		
	
	
		
		
			
				
					
					| 
						
					 | 
					 | 
					 
 |