Making an application for connection