473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Sending message To Remote User

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
2 1545
numberwhun
3,509 Expert Mod 2GB
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
cnsabar
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

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

Similar topics

13
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using...
3
by: Terry Olsen | last post by:
I have administrator access on 2 different domains on the network at my job. I wrote a program to query the registry key on remote PC's and return the results to an excel spreadsheet. However, the...
2
by: Jonathan Woods | last post by:
Hi there, I have encountered problem of losing data sending over internet using web service. I consume web service that connected Oracle Database. I submit 687 SOAP Messages to 1 Web Method...
7
by: D. Patrick | last post by:
I need to duplicate the functionality of a java applet, and how it connects to a remote server. But, I don't have the protocol information or the java source code which was written years ago. ...
5
by: Jason | last post by:
I've a c# app that I execute on a remote machine, which works as I expect it to, but when that apps throws an exception on the remote machine how do I know what's going on, since it's a remote...
8
by: mc | last post by:
I would like to be able to send from an ASP.NET page an email which when recieved takes the form of a "Sharing Invitation for a RSS Feed"...
3
by: chaitanya02 | last post by:
Hi All,, I used this code to send an email to anyone, from my asp page, which accepts email address from the users of the form: Sending a text e-mail using a remote server: <% Set...
2
by: satnamsarai | last post by:
Using System.Net.Mail: Sometimes I get error 'failure sending mail. Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.' Not sure how...
2
by: Danny | last post by:
Hi all, Trying to send mail with System.Net.SmtpClient, using very simple code just for testing: SmtpClient smtp = new SmtpClient("mail.server.com", 25); smtp.Credentials = new...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.