debugging basic socket com