If you need interactive access you may use iSeries Telnet client. The iSeries Telnet client has a port parameter in it so you can Telnet the remote IP with the specified port and write what ever you want to the remote program.
However, you are looking for a method to write from a program to remote IP address. This is done using socket programming. This process is not difficult. I've found a good Web site that you can use as a good starting point, Scott Klement's Web site or even copy his first basic example here.
================================== MORE INFORMATION ON THIS TOPIC ==================================
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
The Best Web Links: Tips, tutorials and more.
This was first published in January 2003