Results 1 to 4 of 4

Thread: Messaging to other PC..

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    398

    Messaging to other PC..

    i'm planning to create a program that will simply throw message in other computer within a network. let say i send "hello" to PC4 then PC4 will recieve a msgbox with a "Hello" message.

    how to do this? im still clueless..
    ________
    Starcraft 2 Replay
    Last edited by rothj0hn; Feb 15th, 2011 at 02:05 PM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Messaging to other PC..

    There are lots of examples of chat applications around that use the TcpListener and TcpClient classes. You might also like to use the UdpClient class if you don't need to set up a two-way conversation.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    398

    Re: Messaging to other PC..

    does both pc needed the application to perform this? basically in udpclient both pc needed the chat application to have two way.. how about tcplistener and tcpclient..
    ________
    HEAD SHOP
    Last edited by rothj0hn; Feb 15th, 2011 at 02:05 PM.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Messaging to other PC..

    When you send a message to another machine there always has to be some piece of software running on that machine to receive it, process it and display it to the user. There is such software built into Windows but it is pretty much universally disabled for security reasons. Unless you want to enable that specifically and develop to that, the answer is yes, you do need your own software running on the target machine in order to receive the message.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width