working tcp socket
updated to KDS 1.1