Results 1 to 4 of 4

Thread: Network DDE

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Taipei
    Posts
    318

    Post

    Do anybody know how to use DDE (or another method) that I can broadcast a text message to other PC in the same LAN ( not internet). Assuming that all these PC is running the same program.
    Actually, I am looking for a way to count the number of concurrent users.

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    If you just want to send messages you can use the NetMessageBufferSend API: http://www.vb-world.net/ubb/Forum1/HTML/010727.html

    If you want a chat program, use the Winsock control. There have been many posts on this so you should be able to find lotsa help.

    Tom

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Taipei
    Posts
    318

    Post

    Thank you Clunietp,
    This look very very close to what I'm looking for, from there, 3 related questions, ....
    1. How about I do not know the PC name
    2. What network protocol required, must be IPX or must be tcpip, or ....
    3. How do the receiving PC knows that something is coming in


  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Do you mean winsock control or API?

    If API, you just need to specify the NT Login name. As long as the client is running the NT messenger service (they are by default) the messagebox will just pop up on the screen. As far as the protocol, probably just TCP/IP if anything at all.

    If you use the winsock control, you have to have a computername or IP address to send it to. The winsock control uses TCP/IP, and you must write the EXE to monitor for incoming data and do something with it.

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