@gaz8080 - I can wake up my sleeping Mac Mini (running Mavericks) simply by issuing the command "telnet 192.168.1.5 5900". Most Windows machines should have the telnet command available. Obviously on my Mac Mini I have Screen Sharing enabled (it uses tcp/5900), but I can also wake up my Mac Mini by opening a telnet session to any other port that's open. Open ports shown below:
Mac$ nmap -Pn macmini.local
Starting Nmap 6.40 ( http://nmap.org ) at 2014-08-02 17:00 NZST
Nmap scan report for minime.local (10.0.1.105)
Host is up (0.0012s latency).
Not shown: 995 closed ports
PORT STATE SERVICE
88/tcp open kerberos-sec
443/tcp open https
445/tcp open microsoft-ds
548/tcp open afp
5900/tcp open vnc
Telnet to port 445, for example, also woke up the Mac Mini when I tested it just now. That guy who started talking about lightning strikes etc WAS going off topic, but he was only trying to be helpful - just better to channel that helpful positive energy into things he has expertise in. Hehe, no good deed goes unpunished 😉
My problem now is that when I wake my Mac Mini using the above telnet technique, I get no video on my screen. I have my Mac Mini running Plex Home Theater, and the point of waking it up like this, is because I've automated my A/V setup at home using Crestron, so that my iPhone controls everything - the TV, the AVR, the Plex HT app, etc. But when I wake the Mac Mini using telnet, the sleep light stops fading in and out, the telnet session successfully opens, but nothing appears on the TV. It's only if I use Apple Screen Sharing on my Mac to connect to the Mac Mini that it "fully" wakes up. To use the other guy's human analogy, this is almost like being asleep, and having your partner say "hey! did you hear that noise outside?" and you answer the question without opening your eyes (= video) 😉 It's as though the Mac Mini only wakes up parts of itself that are needed to service the request, presumably in an effort to save energy. Sure, telnet to port 5900 will wake it, but unless it's a legit Screen Sharing or VNC client connecting on port 5900, nothing appears on my screen/TV. I'm sure I'll find the answer in the Plex.tv forums - if I do, I'll post it here in case anyone else with a similar problem arrives at this page.