network socket programed