I want to create remote logger. The remote logger will transfer message Object to the remote server. The Object is serialized before being trnsfered. I want to implement port listener that will count how many Objects were recieved. The listener must be between the the sender and reciever. How can I find out the Object1 was transfered and Object2 is being transfered at this point. Are there any separators that whould let me know that the last byte belons to Object1 and Object2 is about to begin. Thank you.