Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I send a message via and IP address on port 135 (the windows m 1

Status
Not open for further replies.

linuxMaestro

Instructor
Jan 12, 2004
183
US
How can I send a message via and IP address on port 135 (the windows messaging port)?

I assume the code would be really simple. How could I do this?
 
What programming language and OS?

If you are using Visual Studio 5 or 6, you would use the Winsock control. If you are using .NET, there are some Simple Client objects that make this even easier.

Use the accompanying help. Both platforms have examples that show you how to open a socket and pass data.


pansophic
 
Alternatively, you can run the windows command line, and use the 'net send' command
[tt]
C:\Documents and Settings\manarth>net send
The syntax of this command is:

NET SEND
{name | * | /DOMAIN[:name] | /USERS} message[/tt]


This can be used in all manner of windows scripts, and may prove easier than writing a socket connection prigram.

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
Do a search on the news groups for this. I personally know a spammer that wrote a app to do this, then posted the source when his provider cut him off for spamming...

Scott Heath
AIM: orange7288
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top