By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,851 Members | 1,270 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,851 IT Pros & Developers. It's quick & easy.

Sending message To Remote User

P: 40
Hi..

I am using the following module to send a message to other computer.

Expand|Select|Wrap|Line Numbers
  1. use Win32::NetSend;
  2. my $NetSend = Win32::NetSend->new( to => "10.0.3.40|username", message => "Test Msg!");
  3. $NetSend->Send();
  4.  
Here I am facing the problem is,
If the IP address, I specified is using more than one users means (server), this code will send the message to all connected users.

I want to send a message to particular user in remote login..
i.e user under specified IP address.

kindly suggest any one reg. this
Thanks
Jan 4 '08 #1
Share this Question
Share on Google+
2 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
Hi..

I am using the following module to send a message to other computer.

Expand|Select|Wrap|Line Numbers
  1. use Win32::NetSend;
  2. my $NetSend = Win32::NetSend->new( to => "10.0.3.40|username", message => "Test Msg!");
  3. $NetSend->Send();
  4.  
Here I am facing the problem is,
If the IP address, I specified is using more than one users means (server), this code will send the message to all connected users.

I want to send a message to particular user in remote login..
i.e user under specified IP address.

kindly suggest any one reg. this
Thanks
Unfortunately I haven't used this module before, but I do have a question. Where did you find that format of "to => ipaddress|user"? I don't see that on the module documentation page.

I just want to look at the same documentation as you, that way we are all on the same page.

Regards,

Jeff
Jan 4 '08 #2

P: 40
Hello Jeff,

I referred the link that you provided..

Yes, In documentation it specifies "to => "user" ".
I checked with providing IP address, its working fine...

I want to send a msg to a "user@specified IP address". Just to quote this ques to understand all...
I mistakenly specified in the code area "to => ipaddress|user".

Hope you will get my point.

Looking forward for Ur reply.
Thanks,
Unfortunately I haven't used this module before, but I do have a question. Where did you find that format of "to => ipaddress|user"? I don't see that on the module documentation page.

I just want to look at the same documentation as you, that way we are all on the same page.

Regards,

Jeff
Jan 7 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.