Adding: more socket oeprations