Need error code: rcp - reset by peer

I'm modifying a script that usese rcp. Currently the script may fail because of the "reset by peer" error message. I want to trap this in the script using a check with the $?

Can anyone tell me what the error code is for the "Reset by Peer" error message when encountered by the rcp command.

Thanks
j

check for 104 and 54 (i'm not sure, you may have to give a try for these two to find out)