I could not find the EZASMI macro, but I did find the EZASOKET executable

Thanks Tony

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Tony Thigpen
Sent: Friday, October 30, 2015 1:29 AM
To: [email protected]
Subject: Re: TCP and UDP

For EZASMI (Assembler) or EZASOKET (Cobol):

Listener:
INITAPI
SOCKET
loop:
   RECVFROM
   SENDTO
CLOSE
TERMAPI

Client:
INITAPI
SOCKET
SENDTO
RECVFROM
CLOSE
TERMAPI

Just off the top of my head at 4am. There are other commands you may need based 
on what you are doing, but this is the basic commands for UDP.

Unless you really have a need for UDP, and you understand that UDP has no 
guarantee that the packets were actually received, stay with TCP packets (which 
use different commands than above).

Tony Thigpen

Steve Beaver wrote on 10/29/2015 07:34 PM:
> I have written LU6.2 programs, however I have attempted to open a UDP Port in 
> MVS?
>
> Can someone give me a POINTER of how to code and open a UDP Port in 
> Assembler, or COBOL?
>
>
> Thanks In advance
>
> Steve
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to