determine a oo server's port, and modify timeout process in office project