Rob,

S LSTWORK.TASK0001,P1=00000001    this is the socket no, converted in
decimal and When received converted in
hex and saved in a half-word, I dump the memory in LSTWORK and everything is
ok X'0001'.  I can see in the correct field.

LSTSERVE    receive the connection
                      execute the GIVESOCKET
                      start LSTWORK
                      remain in WAIT
                      CLOSE socket
                      return to ACCEPT

LSTWORK   receive PARMS
                     Alocate a Global area TCP/IP
                     Alocate task area
                     execute INITAPI
                     execute TAKESOCKET     <== I didn't pass from here???
                     POST  Cross-Memory
                     Enter in RECEIVE/SEND

Giovanni Bozzetti
System Programmer

----- Original Message ----- From: "Rob Scott" <[EMAIL PROTECTED]>
Newsgroups: bit.listserv.ibm-main
To: <[email protected]>
Sent: Thursday, June 15, 2006 3:55 PM
Subject: Re: Writing a Listener and receive the takesocket in other address space


How do you pass the socket number between the address spaces ?

It might help if you posted some code fragments


Rob Scott
Rocket Software, Inc
275 Grove Street
Newton, MA 02466
617-614-2305
[EMAIL PROTECTED]
http://www.rs.com/portfolio/mxi/


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to