Anonymous_User Absent Member.
Absent Member.
2526 views

Send data to a socket


Good morning,

Does anyone know of an activity that can send data to a remote socket?
For example, send JSON format data to a configurable socket number on a
configurable IP address?

Thanks in advance,

Scott


--
scott_hanson
------------------------------------------------------------------------
scott_hanson's Profile: https://forums.netiq.com/member.php?userid=6409
View this thread: https://forums.netiq.com/showthread.php?t=49836

0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: Send data to a socket


scott_hanson;239828 Wrote:
> Good morning,
>
> Does anyone know of an activity that can send data to a remote socket?
> For example, send JSON format data to a configurable socket number on a
> configurable IP address?
>
> Thanks in advance,
>
> Scott


Hi Scott,

We would normally send JSON data via the 'Get Web Page Content' activity
- maybe not the most aptly named activity - you can use a HTTP post to
send the JSON request to configurable address and port with optional
authentication, proxy etc.
The benefit of doing this is that the service listening returns HTTP
responses including response headers, data, status codes, error data
etc.
That is the norm, but you don't say what type of socket so this may be
useless info if its not a webservice at the target end.

We don't have an activity that sends data specifically to a socket but a
consultant could easily develop one for you if needs to go down that
path.


--
martincotter
------------------------------------------------------------------------
martincotter's Profile: https://forums.netiq.com/member.php?userid=3942
View this thread: https://forums.netiq.com/showthread.php?t=49836

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.