concurrent inferrence and I/O through socket for plda based on ver 3.1