Results 1 to 7 of 7

Thread: Catch net send messages!?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2001
    Posts
    525

    Question Catch net send messages!?

    I'm making a GUI for net send, and I think it would be cool if you could catch incomming net send messages. This way you could have a dialog just as long as the program is running. Otherwise, the message will just pop up as normal. Is there anyway to do this?

  2. #2
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857
    If you want to make a chat program, use the winsock controls (or winsock api). They work much better for that kind of thing. MSDN includes some examples on using the winsock control.
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    May 2001
    Posts
    525
    probably so, but it must use the net send functionality so that the messages still pop up if the program isn't open.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    May 2001
    Posts
    525
    does anyone know of any code that replicates the net send program?

  5. #5
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857
    Originally posted by jsun9
    probably so, but it must use the net send functionality so that the messages still pop up if the program isn't open.
    So if the program is open, you want to catch the netsend message, if not, the net send pop-up thingy displays. right?

    It would still be easier with Winsock. Your program sends a message and waits for confirmations. When the recieving program gets the messages it sends the confirmation. If the sending program doesn't get a confimation within N number of seconds, it sends a net send message.
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

  6. #6
    Fanatic Member JCScoobyRS's Avatar
    Join Date
    Oct 2002
    Location
    Some Mountain in Colorado
    Posts
    677
    You can do the NET SEND from shell like this:

    VB Code:
    1. Shell "NET SEND JCScoobyRS Screw You!"

    Does this help? Thanks, Jeremy
    He who listens well, speaks well.

  7. #7
    Fanatic Member JCScoobyRS's Avatar
    Join Date
    Oct 2002
    Location
    Some Mountain in Colorado
    Posts
    677
    As far as catching it, you'd have to have a program that will monitor for ICMP packets to the machine running the program. It's a lost cause. Go with Winsock like earlier stated if you want to do this easily. Late, Jeremy
    He who listens well, speaks well.

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