WOL question

Everything else that doesn't fall into one of the other PB categories.
TeddyLM
Enthusiast
Enthusiast
Posts: 133
Joined: Wed Apr 30, 2003 2:04 pm
Location: Germany (French expat)

WOL question

Post by TeddyLM »

Hi all

Is ist possible to wake up a host (on LAN) with TCP protocol instead of udp ? I wrote a tool to send a magic packet via broadcast and wonder if it's possible to send such a packet directly to a host (with static IP).
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Theoretically TCP requires a connection. But I don't know in practise.
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

The magic packets are sent to MAC addresses not IP addresses since a turned off computer doesn't have a Mac Address, so I don't think it's possible.
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

Trond is absolutely right see here :
http://msdn.microsoft.com/library/en-us ... cket_2.asp
SOCK_STREAM = Provides sequenced, reliable, two-way, connection-based byte streams with an OOB data transmission mechanism. Uses TCP for the Internet address family.
SOCK_DGRAM = Supports datagrams, which are connectionless, unreliable buffers of a fixed (typically small) maximum length. Uses UDP for the Internet address family.
TeddyLM
Enthusiast
Enthusiast
Posts: 133
Joined: Wed Apr 30, 2003 2:04 pm
Location: Germany (French expat)

Post by TeddyLM »

thanks
Post Reply