System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6. Socket option SO_SNDTIMEO is not supported by this API. Semantics similar to SO_SNDTIMEO can<br />
be obtained using the operationWaitTime field in the Qso_OverLappedIO_t structure.<br />
Related Information<br />
v “gsk_secure_soc_init()—Negotiate a secure session” on page 38—Negotiate a secure session<br />
v “gsk_secure_soc_misc()—Perform miscellaneous functions for a secure session” on page 41—Perform<br />
miscellaneous functions for a secure session<br />
v “gsk_secure_soc_open()—Get a handle for a secure session” on page 44—Get a handle for a secure<br />
session<br />
v “gsk_secure_soc_read()—Receive data on a secure session” on page 46—Receive data on a secure<br />
session<br />
v “gsk_secure_soc_startInit()—Start asynchronous operation to negotiate a secure session” on page<br />
48—Start Asynchronous Operation to negotiate a secure session<br />
v “gsk_secure_soc_startRecv()—Start asynchronous receive operation on a secure session” on page<br />
52—Start Asynchronous Receive Operation on a secure session<br />
v<br />
QsoCancelOperation()—Cancel an I/O Operation<br />
v QsoPostIOCompletionPort()—Post Request on I/O Completion Port<br />
v QsoCreateIOCompletionPort()—Create I/O Completion Port<br />
v QsoDestroyIOCompletionPort()—Destroy I/O Completion Port<br />
v QsoStartRecv—Start Asynchronous Recv Operation<br />
v QsoStartSend—Start Asynchronous Send Operation<br />
v QsoWaitForIOCompletion()—Wait for I/O Completion Operation<br />
v send()—Send Data<br />
API introduced: V5R1<br />
Top | UNIX-Type <strong>APIs</strong> | <strong>APIs</strong> by category<br />
gsk_secure_soc_write()—Send data on a secure session<br />
Syntax<br />
#include <br />
int gsk_secure_soc_write(gsk_handle my_session_handle,<br />
char *writeBuffer,<br />
int writeBufSize,<br />
int *amtWritten);<br />
Service Program Name: QSYS/QSOSSLSR<br />
Default Public Authority: *USE<br />
Threadsafe: Yes<br />
The gsk_secure_soc_write() function is used by a program to write data on a secure session.<br />
Parameters<br />
my_session_handle (Input)<br />
The handle, returned from gsk_secure_soc_open() and used on the gsk_secure_soc_init() API call<br />
that initialized the secure session over which data is to be written.<br />
60 <strong>System</strong> i: <strong>Programming</strong> <strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong>