PDA

Click to See Complete Forum and Search --> : Sending messages From my app to myapp over network


ExtremePimpness
Feb 14th, 2001, 02:11 AM
I am writing an security program to lockout users from an admin computer.
basically i need to know how to send a message to my app from my app.
it will broad cast a screen shot and the users name and which terminal they are using.
all i need to know is how to send it i've got the rest down.

plenderj
Feb 14th, 2001, 06:06 AM
Well you use a winsock control.
You just need the IP address of the systems you want to send the data to.
If you want to broadcast the data to all systems, you would use UDP to 255.255.255.255, but a switch on the network would probably stop that packet in its tracks.

I was experimenting with this sort of thing before, I could get the screengrab, but how are you sending it ?
What I had to do was to get the screen grab, send it to a hidden picturebox, save the picture to the drive, and then send the data via winsock.
How 'r you doing it if you don't mind me asking ?

- jamie.

ExtremePimpness
Feb 14th, 2001, 01:07 PM
THanx i was sure i would have to learn winsock, but i was hopeing not to. As for the picture i am doing it similar if not the same but if i find a way then i'll let you know.

Thnx again