Q
Problem solve Get help with specific problems with your technologies, process and projects.

Writing to a socket

Is it possible to send a string of iSeries' to an IP address? For example, I want to send the string '010205' to an IP address to be read by a robot directly, but I don't need conexion by user and password to session.

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.


Dig Deeper on Physical connections to iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close