12.07.2015 Views

SDISC Assembler Call - NetEx

SDISC Assembler Call - NetEx

SDISC Assembler Call - NetEx

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

General Concept of a SessionBefore explaining in detail how each part of a session is programmed, the following sections explain the generalconcept of a simple NETEX session.This figure shows a simplified example of a session where one program reads data from another.Figure 4. General Concept of a SessionThe following text describes the session flow shown above:1. <strong>Call</strong>ing program A1 in host A issues an SOFFER. his indicates that program A1 is available to serviceother calling programs.2. <strong>Call</strong>ing program B1 requires a file controlled by program A1. To initiate a data transfer session, programB1 issues an SCONNECT request. This request may contain data to be delivered to the offering program.3. When the SCONNECT completes (that is, when it is accepted by NETEX), program B1 issues anSREAD to prepare to receive program A1’s response to the SCONNECT.4. When the SCONNECT is received by the NETEX in A1’s host, the SOFFER completes with a ConnectIndication and with B1’s SCONNECT data in the buffer associated with A1’s SOFFER. If program A1Page 10 Intertask Communication MAN-REF-H307IP-04

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!