× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The hanging thing is a new one. Are other people using this socket server?
It doesn't sound like the socket server is not responding, it sounds like
you are connecting and then being hung up.

Normally socket attempts to make a connection. That connection is either
accepted or rejected. If there is nothing to connect to it just returns an
error.

So anyway, you need to speak to whoever is in charge of the socket server
and see if they can see your connection.

On Sun, Feb 17, 2019 at 5:25 PM a4g atl <a4ginatl2@xxxxxxxxx> wrote:

Thank you all. I have got some code working.

I have a new question relating to this. I have used Alan Campin's example
in Think400.

How do I monitor for a failure?
In my testing, if the remote side does not respond/connect the code was
hanging waiting for a response. I had to cancel the job.

How do I overcome the the waiting?
In other words, is there a timeout that can be set to return to my program?

Thank you.

Darryl Freinkel


On Fri, Feb 15, 2019 at 6:24 PM Jack Woehr <
jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

This is pretty easy in Python.

On Fri, Feb 15, 2019 at 4:19 PM Alan Campin <alan0307d@xxxxxxxxx> wrote:

So you are looking for a socket client? Who is writing or has written
the
outside server? Are you being expected to write the outside socket
server?

As I read your request, you are looking for a socket client to talk to
an
outside of the IBM i socket server.



--
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.