amarquee.library/QSetMaxRawBufSize amarquee.library/QSetMaxRawBufSize
NAME
QSetMaxRawBufSize - Set the maximum buffer size for socket sessions. (V50)
SYNOPSIS
#include
void QSetMaxRawBufSize(struct QSession * session, ULONG maxBufSize)
FUNCTION
This function allows your AMarquee client to set the maximum size of
the buffer that is used to buffer the data that is sent to you.
When the buffer is filled up or after a time out the buffer will be sent
to your program as a QMessage, i.e. this is the maximum size of the QMessages
sent to your program
INPUTS
session - The session you wish to set the buffer size of.
maxBufSize - The buffer size.
RESULTS
NOTES
65535 bytes is the default buffer size.
EXAMPLE
AREXX EXAMPLE
QSetMaxRawBufSize(session, 64000)
SEE ALSO
QNewSocketSessionAsync, QNewSocketSession, QNewSocketServerSession
Converted on 24 Mar 2002 with RexxDoesAmigaGuide2HTML 2.1e(private) by Michael Ranner.