Category: network
In Python, we can use _threading to launch a thread easily using the _thread.start_new_thread procedure. For example, import _thread def thread_proc(threadId, value): print(threadId, value) _thread.start_new_thread( thread_proc, ("Thread-1", "a Number") …
The changeover from volume-limited IPv4 to IPv6 launched 6 years ago, and now, according to Internet Society, IPv6 is dominant. 25% of connections to Google services, a bellwether for …
Have you ever needed a quick tool to lookup multiple hosts (Java based on the InetAddress class. The following Java code has been uploaded to github: https://github.com/DoctorLai/DNSLookup import java.net.InetAddress; …
If a port has been pocessed by a process/application/program, you cannot listen to it. Usually, an exception of “Address in Use – cannot bind” will be thrown. That is, …
If you have a VPS or dedicate server, you can issue the following command to let your server restarts (as root user): sudo shutdown -r now If you issue …