Creating a stream-connect interface