ca.portal.admin

TCP/IP generic listener server

Discussion created by ca.portal.admin on Feb 21, 2006
Latest reply on Feb 22, 2006 by ca.portal.admin
Hi ALL,

I'm programming a TCP/IP generic listener server in COBOL. It =
works pretty well,
but I need to get the remote host Ip address, and I don't know how get =
it.

Has anyone else had this problem?

I'm in VSE/ESA V2R6 and IDMS R16 SP3

Thanks,

=20

Naval Espasa
Barcelona Stock Exchange

"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
TCP/IP generic listener server
"Hi ALL,

I'm programming a TCP/IP generic listener server in COBOL. It works pretty well,
but I need to get the remote host Ip address, and I don't know how get it.

Has anyone else had this problem?

I'm in VSE/ESA V2R6 and IDMS R16 SP3

Thanks,



Naval Espasa
Barcelona Stock Exchange

"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: TCP/IP generic listener server
"Hi Onni,

I've tried the ACCEPT call, but when this is called, the program to
goes in WAIT state.
I'm programming using COBOL option under VSE/ESA, the function ACCEPT is
sopported
under this environment.

Thank you,

Naval Espasa
Barcelona Stock Exchange


----- Original Message -----
From: ""Onni Kukkonen"" <onni.kukkonen@VEGASOFT.COM>
To: <IDMS-L@LISTSERV.IUASSN.COM>
Sent: Tuesday, February 21, 2006 12:33 PM
Subject: Re: TCP/IP generic listener server

Hi,

The ACCEPT call of Socket API should return the IP address as a part of
sockaddr argument.

Onni Kukkonen
Vegasoft

-----Original Message-----
From: IDMS 3rd-party providers forum
[mailTo:IDMSVENDOR-L@LISTSERV.IUASSN.COM] On Behalf Of Naval Espasa
Sent: Tuesday, February 21, 2006 12:05 PM
To: IDMSVENDOR-L@LISTSERV.IUASSN.COM
Subject: TCP/IP generic listener server

Hi ALL,

I'm programming a TCP/IP generic listener server in COBOL. It =
works pretty well,
but I need to get the remote host Ip address, and I don't know how get =
it.

Has anyone else had this problem?

I'm in VSE/ESA V2R6 and IDMS R16 SP3

Thanks,

=20

Naval Espasa
Barcelona Stock Exchange
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: TCP/IP generic listener server
"Could the cobol compiler be somehow ignoring the TCP/IP libs and
compiling the ACCEPT as the old Cobol command which accepted a parm from
the console? Since none is given, it would wait until the outstanding
reply is anwered.

Lutz Petzold



-----------------------------------------
This e-mail may contain confidential or privileged information. If you
think you have received this e-mail in error, please advise the sender
by
reply e-mail and then delete this e-mail immediately. Thank you.
Aetna


"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: TCP/IP generic listener server
"Similar -- but not exact -- issue, trying to use ADS Listener . . .
Cal Dominique gave me these APARS that you might look at . . .

We do have several APARs that address some known problems with
TCP/IP
or Socket processing. The first step might be to apply any of these
which
apply to your operating system and release. The list of available APARs
is:
QO62566 QO62565 QO52918 QO52622 QO51990 QO51989
QO51551 QO51416 QO50728
Please review these, apply any that match your operating system and
release,
and re-test.

Outcomes