Click to See Complete Forum and Search --> : net send command


huskrfreak88
02-21-2004, 08:54 PM
if anyone here is familiar with the net send command i was wondering if there is anyway to do the same with an ip address as opposed to a network id... thanks alot ASAP please!

PeOfEo
02-21-2004, 09:13 PM
Originally posted by huskrfreak88
if anyone here is familiar with the net send command i was wondering if there is anyway to do the same with an ip address as opposed to a network id... thanks alot ASAP please! Yes i am familiar with netsend, but why are you using it, just out of curiousity? How do you intend to do this with a website. Php sockets, ssl, system.net.sockets in asp.net maybe? What would be the point? I do not know how to do this from a website, but I also do not see the point. Little annoying alert popups are one of the reasons why why Satan... erm, I mean $un invented java script.

huskrfreak88
02-21-2004, 09:21 PM
i wasn't going to use it from a website, i was going to use it to send "little annoying popups" to friends via ip address. is there anyway to do that?

PeOfEo
02-21-2004, 09:29 PM
Originally posted by huskrfreak88
i wasn't going to use it from a website, i was going to use it to send "little annoying popups" to friends via ip address. is there anyway to do that? I thought you could do it straight from a dos prompt using the net send command. Name ip message or whatever.

Khalid Ali
02-21-2004, 10:58 PM
here is how, open a dos commad window, and type

net send computerName message

its that simple

:-)

huskrfreak88
02-21-2004, 11:12 PM
Khalid i understand that but it doesn't seem to work using an ip address for a computer NOT on a network, just over the internet... Possible?

buntine
02-21-2004, 11:20 PM
net send wont work if you are trying to send to an hostname that isnt located on your network. Obviously, it is possible, but this precise method will not work in that way.

huskrfreak88
02-21-2004, 11:24 PM
ok do u know of any way that would work? please let me know all help is greatly appreciated!

PeOfEo
02-21-2004, 11:50 PM
then why the heck do I get those grey popups whenever I reformat my hard drive and reinstal xp before I turn of messagne in msconfig -> services.

buntine
02-22-2004, 12:24 AM
I have never needed to resort to that. Nor have i ever heard of anyone else having to...

Strange.

The Cheat
02-22-2004, 03:54 AM
Originally posted by PeOfEo
then why the heck do I get those grey popups whenever I reformat my hard drive and reinstal xp before I turn of messagne in msconfig -> services.
Because you are not behind a firewall or your firewall didn't do its job. A good firewall will block those if they are coming from the net.

buntine
02-22-2004, 07:15 AM
It shouldnt be a problem anyway.. Have you got a static IP? Who would waste their time by constantly sendng messages to ppl?

huskrfreak88
02-22-2004, 04:23 PM
lol i would waste my time but its not really a waste of time cause it takes.. uh 5 seconds. If your not trying to help then why are you posting on this?

mdoigny
02-22-2004, 04:53 PM
Some reasons why net send don't work:

IP address: is it the real ip address of the addressee?
Some visitors use a local proxy, a router or the ISP proxy.
Ask the person to send you an email and analyse the headings: the last received header contains the real address of the sender.
net send (receive part) only works on XP and W2k (and W98 if winpopup is enabled)
now it's getting somewhat complicated: if you ask an internet page, you are the client (outgoing request). If somebody is sending you a net send, your computer is acting as server (it must "accept" the command). Some providers don't allow servers and will block all incoming ports (incoming request).
If you have a local network, you must configure port forwarding on your router, so it knows that a request for a "net send" must be delivered to that computer. You can only send messages to a single computer on a LAN (from the outside).
Most users on a cable or dsl connection have their IP rotating each hour or so to disable any server functionality.


I'm using the "net send" feature in my mail server, to signal users that they have new mail in real-time, so they don't need to have their UA running continuously. Works only on LAN.

PeOfEo
02-22-2004, 04:55 PM
Originally posted by The Cheat
Because you are not behind a firewall or your firewall didn't do its job. A good firewall will block those if they are coming from the net. That has nothing to do whith what I was talking about. Those are comeing through the internet when it was said before that they cannot. I am not behind a hardware firewall right now, because it interfeared with games, but that does not change the fact that netsend can be sent through the open internet.

Khalid Ali
02-22-2004, 06:57 PM
A very important thing which I think needs to be mentioned here.
NET SEND will only work on Win2k and XP systems, only and I repeat only when "MESSENGER" service is running on those system.

(I have this service disabled).

So to make these commands work
first of all make sure "Messenger" service is running and then just type in

NET SEND 192.168.0.1 Hello There

I know it works,and it will work to any IP address where OS is win2k or XP

As mentioned above for systems <win98 winpopup needs to be enabled

PeOfEo
02-22-2004, 07:08 PM
Originally posted by Khalid Ali
A very important thing which I think needs to be mentioned here.
NET SEND will only work on Win2k and XP systems, only and I repeat only when "MESSENGER" service is running on those system.

(I have this service disabled).

So to make these commands work
first of all make sure "Messenger" service is running and then just type in

NET SEND 192.168.0.1 Hello There

I know it works,and it will work to any IP address where OS is win2k or XP

As mentioned above for systems <win98 winpopup needs to be enabled then that is the answer to the original question. Bravo. :D

buntine
02-22-2004, 10:02 PM
posted by huskrfreak88
lol i would waste my time but its not really a waste of time cause it takes.. uh 5 seconds. If your not trying to help then why are you posting on this?


What are you talking about? Not only was that rude, but it was uncalled for.

huskrfreak88
02-23-2004, 04:10 PM
uh i dunno what i was talking about... that makes no sense lol sorry and thanks for everything!!!

buntine
02-24-2004, 05:20 AM
It is ok.. We often misunderstand each other when we cant speak face to face.