|
-
Jun 10th, 2003, 03:32 PM
#1
Thread Starter
Fanatic Member
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?
-
Jun 10th, 2003, 04:25 PM
#2
Fanatic Member
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!
-
Jun 10th, 2003, 04:52 PM
#3
Thread Starter
Fanatic Member
probably so, but it must use the net send functionality so that the messages still pop up if the program isn't open.
-
Jun 10th, 2003, 04:53 PM
#4
Thread Starter
Fanatic Member
does anyone know of any code that replicates the net send program?
-
Jun 10th, 2003, 05:05 PM
#5
Fanatic Member
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!
-
Jun 10th, 2003, 05:13 PM
#6
Fanatic Member
You can do the NET SEND from shell like this:
VB Code:
Shell "NET SEND JCScoobyRS Screw You!"
Does this help? Thanks, Jeremy
He who listens well, speaks well.
-
Jun 10th, 2003, 05:14 PM
#7
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|