Messaging remote machines?

Windows specific forum
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Karbon.

Would anyoen happen to know how to send a message to a computer not on the LAN?

http://www.reelmediaproductions.com/pb/ ... etSend.zip

.. that demonstrates sending to local machines, I'm not sure about the addressing or I might be able to modify it for my needs..

Thanks!

-Mitch
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

At a quick glance this seems to be an NT server util and, correct if I am wrong, you want to send to any machine via tcp/ip? If so then either you would have to know the target machine in advance or refer to a public server on which users register. Then again I could be completely wrong.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Karbon.

Yes, I would like to do this over TCP/IP, I would know the IP address of the machine receiving the message....

Thanks!

-Mitch
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

Best delve into the PBChat example (on the resources site?)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Karbon.

I'm sorry, I wasn't clear.. I wanted to utilize the windows messaging built into windows (IE net send under XP).. IT's turned on by default and is the easiest way for me to get one-way messages to my guys!

Thanks!

-Mitch
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

Oh XP! As you'll see from the another thread I have no experience of XP at all. Maybe someone else can help.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Num3.

try this:

:)

ShellExecute_( null, "open", "Net", "send duron Test Message", "", #SW_HIDE)

--
Kind Regards
Rui Carvalho

Old programmers never die... They branch into a subroutine...
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

I`m the author of NetSend.This snippet demonstrate a lot of api-uses for networking.
if any question related to , plz post me.

Its a long way to the top if you wanna .....CodeGuru
Post Reply