IPCCONNECT

Requests a connection to another process.

IPCCONNECT(calldesc,pathdesc,flags,opt,vcdesc,result)

calldesc

32-bit integer, by value in Pascal, by

 

reference in FORTRAN. Call socket descriptor. Refers to

 

a call socket owned by the calling process.

pathdesc

32-bit integer, by value in Pascal, by

 

reference in FORTRAN. Path report descriptor. Refers to

 

the path report which indicates the location of the destination

 

call socket (this is the call socket to which the connection

 

request will be sent). A path report descriptor can be obtained

 

by calling IPCLookUp or IPCGet.

flags

32-bit integer, by reference. A 32bit map of

 

special request bits. The following option is defined for this

 

call:

 

flags [22]3CHECKSUMMING(input). When set, this

 

flag causes TCP to enable checksumming. However, not setting

 

this bit does not ensure that checksumming will not occur. TCP

 

checksum will always be performed if: the peer process calls

 

IPCRecvCn with the checksumming bit set. TCP checksum is

 

performed in addition to data link checksum. If TCP performs

 

checksumming, increased overhead is required and realtime

 

integrity cannot be guaranteed.

opt

Byte array (Pascal); Integer array

 

(FORTRAN), by reference. An array of options and

 

associated information. The following options are defined for

 

this call:

 

maximum send size (optioncode = 3, datalength = 2). A

 

twobyte integer that specifies the maximum number of bytes

 

you expect to send with a single IPCSend call on this

 

connection. Range: 1 to 8,000 bytes. Default: 100 bytes. If this

 

option is not specified, IPCSend will return errors if a call

 

attempts to send greater than 100 bytes.

 

maximum receive size (optioncode = 4, datalength = 2).

 

A twobyte integer that specifies the maximum number of bytes

 

you expect to receive with a single IPCRecv call on this

 

connection. Range: 1 to 8,000 bytes. Default: 100 bytes. If this

 

option is not specified, IPCRecv will return errors if a call

 

attempts to receive greater than 100 bytes.

vcdesc

32-bit integer, by reference. VC socket descriptor.

 

Refers to a VC socket that is the endpoint of the virtual circuit

 

connection at this node. May be used in subsequent NetIPC

 

calls to reference the connection.

result

32-bit integer, by reference. The error code

 

returned; zero if no error.

64 Network Interprocess Communication