Agreed.
CharlesSent from a mobile; please excuse the brevity
-------- Original message --------
From: David Crayford <[email protected]>
Date: 06/04/2015 6:19 PM (GMT-08:00)
To: [email protected]
Subject: Re: IBM Multitasking C socket sample program
I wouldn't waste your time with those samples. It uses the multi-tasking
facility of Systems Programming C, which is about as stale as an old
pair of socks. Just google C multi-threaded socket server that uses
POSIX threads (pthreads). There will be literally hundreds of examples
out there.
There's a very nice sample client/server C for Z here
http://www-03.ibm.com/systems/z/os/zos/features/unix/bpxa1ty3.html that
uses a thread pool and AIO.
On 3/06/2015 6:57 PM, Steve Austin wrote:
> z/OS Communications Server: IP Sockets Application Programming Interface
> Guide and Reference
> SC27-3660-00
>
>
>
> http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v
> 2r1.hala001/sam745.htm
>
>
>
> I'm trying to run up this sample, for which there is no supplied JCL.
> I've compiled, pre-linked and linked the 3 routines MTCSRVR, MCTCLNT and
> MTCCLNT and I'm getting a U4093 X'70' for MTCCSUB for which I've
> specified an entry point of CEESTART. Has anyone got this sample
> working? If so, what compile and link options were used and what is the
> entry point for MTCCSUB?
>
>
>
> Thanks
>
>
>
> Steve
>
>
>
> U4093 X'70'
>
> A load module did not contain a main procedure/function and was invoked
> without Language Environment having been previously initialized.
>
>
>
>
>
----------------------------------------------------------------------
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