Solved

Access Messenger via sockets!!!

Posted on 2003-12-11
4
184 Views
Last Modified: 2010-04-15
     Hi! I would like to ask if i could access the messenger (net send command) via WinSOckets. Does this service listen to a well specified port? I'm asking all these because i would like to make a program that sends its own messages to the host's screen using its IP address. And another question took. Can i access this service via Unix sockets? I mean do I have the ability to establish a connection with a Win server through a Unix or Linux client that connects to the apropriate port?

      Thanks!!!
0
Comment
Question by:digineo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 6

Accepted Solution

by:
MannSoft earned 90 total points
ID: 9921106
I don't know them off-hand, but if you search google for a phrase like "stop messenger spam" you'll probably find resources that explain which TCP and UDP ports to close in order to prevent messenger spam.  Based on that, you'll know which ports your program should connect to.  If i remember right it was one of the 137,138 or 139 ports.

As for using unix sockets, as long as you use the proper protocol you should be able to do it from any platform, so yes unix sockets will work.
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 9925883
>I would like to ask if i could access the messenger (net send command) via WinSOckets.
There is an easier way
system ( "net send ..." );

>Does this service listen to a well specified port?
I am sure it does, but I do not know the port

>Can i access this service via Unix sockets?
You mean sending net send messages to a win machine from a unix machine ... well that is indeed possible as all messenger service expects is a particular format of message to arrive on the port that it is listening to ... All you need to do is find out the format of the message... If the format is proprietary, then you are out of luck
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

707 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