title: How do i send messages from one computer to another using vb.net?
body: <p>Ok so i've been wanting to do this for a few years now and it amazes me that no one can come up with a solution... i want to write a program (preferably in vb.net) that can send a message to another computer (or device) that is connected to the same network as me. I want the message to appear on the other computer (or device) in a popup message box. Also, it would be ideal if this could be done through some sort of bluetooth connection, if not then local ip connection will do. I don't know how i would go about doing this but i know it's possible because i've seen some programs do it... in fact i've seen a program called blackrain that without any additional software installed, can display messages on an ipod touch screen to instruct the yser what to do, and then display the results from their input on the computer screen, almost instantly. I would like to know how that works as well if anyone has any thoughts please feel free to share them!</p>
  
  <p><strong>Additional Details:</strong></p>
  
  <ul>
  <li><p>I have alot of experience with vb.net, command-line functions, and vbscript.</p></li>
  <li><p>I am currently running Windows 7 Professional x64</p></li>
  <li><p>I have an external bluetooth mini adapter.</p></li>
  <li><p>I would like this to be (if possible) similar to those ipod/iphone apps that let you control your laptop cursor over wifi sync; in the sense that there is no setup required, and no additional software needed. (Example: remotepad.ipa)</p></li>
  </ul>
  
  <p>The code for the message box would be something like:</p>
  
  <pre><code>ObjClient = New TcpClient("127.0.0.1", 1000)
  TcpClient.Start()
  Messagebox.Show("Popup Message Here")
  TcpClient.Close()
  </code></pre>
  
  <p>I know that this code will do sort of the same thing in the command prompt:</p>
  
  <pre><code>msg * /SERVER:localhost hello 
  </code></pre>
  
  <p>or this code will do the same thing in the command prompt:</p>
  
  <pre><code>msg * hello &gt; localhost
  </code></pre>
  
  <p>But i want to do this without any batch files if possible, because i don't want to have to set up anything on the other end.</p>
  
  <p>Thanks!</p>
  
  <p>Does it have anything to do with Sockets or Ports maybe?</p>
  
  <hr>