getStreamErrorCode function

Returns the error code reported by the stream.

Syntax
abstract int SyncResult.getStreamErrorCode()
Remarks

The error code is the HTTP response code.

Returns

Zero, if there was no communication stream error; otherwise, the response code from the server.