code: def socketTextStream(self, hostname, port, storageLevel=StorageLevel.MEMORY_AND_DISK_2):
          
          jlevel = self._sc._getJavaStorageLevel(storageLevel)
          return DStream(self._jssc.socketTextStream(hostname, port, jlevel), self,
                         UTF8Deserializer())
docs: Create an input from TCP source hostname:port. Data is received using
          a TCP socket and receive byte is interpreted as UTF8 encoded ``\\n`` delimited
          lines.
  
          @param hostname:      Hostname to connect to for receiving data
          @param port:          Port to connect to for receiving data
          @param storageLevel:  Storage level to use for storing the received objects