|
The daytime port 13 will return a datagram containing the server time. On many systems, this port is being disabled, fearing hackers may use it to perform a denial-of-service attack of some sort. Based on the date format that the server returns, the hacker may also find out about the operating system. Just open a socket and read a line. It will contain the server time if the port is enabled. DaytimeClient.java: Further Information Author of answer: Joris Van den Bogaert Comments to this answer are only viewable by members. Login or become a member! |