public static void writeObject ( final String serverName , final int port , final Object objectToSend ) throws IOException { final InetAddress inetAddress = InetAddress . getByName ( serverName ) ; writeObject ( inetAddress , port , objectToSend ) ; }
Writes the given Object .