This example shows how to send an object across a TCP socket by serializing a class.