StreamingContext.
socketTextStream
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.
\n
Hostname to connect to for receiving data
Port to connect to for receiving data
pyspark.StorageLevel
Storage level to use for storing the received objects