Added socket related error checks
Canceled output for Socket "Ready"
coupled socket output to prompt status
trivial change of lpara from real to integer in do_show_generic