Working with split sockets. Has Errors.