getMaxMessageSize

getMaxMessageSize(): Integer;

The getMaxMessageSize method of the TcpIpConnection class returns the maximum message size that can be sent or received at one time.

The result of this method is not defined until the connection has been opened. A value of zero (0) indicates that there is no upper limit to the allowable message size.

As this feature is not supported for the TCP/IP protocol, a value of zero (0) is always returned for a TCP/IP connection.