Created connection function

No functionality yet. This funciton should create the parameter
structure, and open the file descriptor for write access.