sending instant messages

Posted on 2004-03-22
Last Modified: 2010-04-11
how can I send messages through the lan or through the internet by knowing my friends IP address. please tell me in detail
or guide me .
Question by:mehnjalo
  • 4
  • 4
  • 2
  • +3
LVL 32

Expert Comment

by:Luc Franken
ID: 10650997
Hi mehnjalo,

Through the lan, you can use:

Net send <ip-address> <your message>


LVL 32

Expert Comment

by:Luc Franken
ID: 10651008
But your best bet will be some instant message client like Yahoo instant messenger/MSN Messenger/whatever, especially if you want to communicate over the internet.
LVL 57

Expert Comment

by:Pete Long
ID: 10651050
Using the Net Send Command

Network message can be sent in two ways:

1. manual sending messages - from program window;

2. automatic sending messages - from scheduler, MS-DOS (.bat) or NT (.cmd) command file.

Manual sending messages
Standard solution of this task depends on user's OS:

In Windows 95 / 98 there is sending messages utility WinPopup. But as far as it uses API Win16 (obsolete but compatible with Windows 3.1x), there is imperfection:
you have WinPopup window with Windows 3.11 interface;
you have to remember exact recipient name or his PCs name;
you can't remove window button from task bar in Status Area (as known as Tray);
In Windows NT / 2000 / XP there is the only command 'net send' in Command Prompt or 'Run' window (hot keys Win + R). There is no program with Graphic Users Interface in Windows NT / 2000 / XP standard package. Main imperfections of this utility are:
you need to have Command Prompt window constantly open;
you have to remember exact recipient name or his PCs name;
you have too short edit box of a command line in 'Run' window;
it's hard to use Copy (Ctrl + C) & Paste (Ctrl+ V) command in Command Prompt window.

above From

net send {Name | * | /domain[:Name] | /users} message

Specifies the user name, computer name, or messaging name to which you want to send the message. If the information that you supply contains spaces, use quotation marks around the text (for example, "Computer Name"). Long user names might cause problems when they are used as NetBIOS names. NetBIOS names are limited to 16 characters, and the sixteenth character is reserved.
Sends the message to all the names in your domain or workgroup.
Sends the message to all the names in the computer's domain. You can specify Name to send the message to all the names in the specified domain or workgroup.
Sends the message to all users connected to the server.
Required. Specifies the text of the message.
net help Command
Displays help for the specified net command.
You can send a message only to a name that is active on the network. If you send the message to a user name, that user must be logged on and running the Messenger service to receive the message.
You can broadcast a message to all of the names in your computer's domain (use * or /domain) or to a different domain (/domain:DomainName). Broadcast messages can contain up to 128 characters. Use discretion when you send messages to multiple users.
To send the message "Meeting changed to 3 P.M. Same place." to the user robertf, type:

net send robertf Meeting changed to 3 P.M. Same place.

To send a message to all users connected to the server, type:

net send /users This server will shut down in 5 minutes.

To send a message that includes a slash mark (/), type:

net send robertf "Format your disk with FORMAT /4"

No IP Option as far as Im aware :-(

Author Comment

ID: 10653199
please i need to use the ip through the internet
LVL 57

Expert Comment

by:Pete Long
ID: 10653222
In that case I second Luc YIM or MSMessenger

Expert Comment

ID: 10654494
You may already have Netmeeting installed on your computer (based on the assumption you are using Windows for an Operating System).
 Win XP will have it under Start-All Programs-Accessories-Communications, either way check your entire start bar before deciding that you need to install it.
Install Page:
  follow instructions.

How to use the program:

 One thing to keep in mind, once installed and configured, the IP's you use need to be routable.  In other words, if your friend has DSL, the IP they gave you may not work.
 Also, whatever program you use, your friend will also need it running.
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.


Expert Comment

ID: 10654496
net send ipaddress "message"  and that is all u need to do on lan.

Author Comment

ID: 10660492
thank you all but still something:
how to send a message to friend through the internet not allowing him to know this message from me as making jokes or as adversment
LVL 57

Expert Comment

by:Pete Long
ID: 10660533
I know this is an innocent request, but getting onto another PC remotely without its owners consent is a crime in many countries. your only hope is to KNOW his/her IP address and net send a message to him/her, and hope they have not disabled this at their end


Expert Comment

ID: 10662513
Try LanTalk XP, specially designed for LAN

Author Comment

ID: 10689144
dear petelog how can you explaine the huge number of messages came to you as soon as you entered a certain site I think this kind of messages have a reasone " adversment " . all what i need is to send messages to my (you see my )friends  all  over the world through their ip address ( after talking their premessions  of course);)  
till now the answers are :
net send :   difficult to return back to commands urgements
messanger : that if you now their id in yahoo or in hotmail
netmeeting :
lanTalk : very very good for lan
all these answers are very good but need more........
speacily with  the  ip

Author Comment

ID: 10689369
i tried to increase the point but sonting happend so I asked this question again till you people get the all point for the two questions  75 for this questiond and 70 for the other ( itt is the same question )
the address of the 2nd question is :
LVL 57

Accepted Solution

Pete Long earned 75 total points
ID: 12465911

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Nic to NIC 5 44
VMware NSX version 6.2.2 upgrade 6.2.4 6 47
Extending  a subnet 9 34
Let’s list some of the technologies that enable smooth teleworking. 
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now