Configuring Network Socket as a File Source

<< Click to Display Table of Contents >>

Navigation:  Using StreamLab > StreamLab Sources Overview > Configuring Line, CSV, XML, and JSON Sources >

Configuring Network Socket as a File Source

Previous pageReturn to chapter overviewNext page

To read from a line, CSV, XML, or JSON file over a network socket, you need to configure the socket connection. You may want to consult with whoever has set up the application with which StreamLab will connect over the socket.

Network sockets initiate a connection over TCP or UDP. Connections can be initiated by remote applications or by StreamLab itself. To tell StreamLab listen to a remote host, use the Remote Host and Remote Port fields.

Connections can optionally be made using IPV6.

Name

Description

Remote Host

Hostname to send rows to or receive rows from. You can override this to 'LOCALHOST' to listen to only local connections, or a specific ip address, such as <168.212.226.204>.

Remote Port

Port to send rows to or receive rows from.

Socket uses TCP?

Whether the socket uses TCP (True) or UDP (False). Default is false (UDP).

Socket uses IPV6?

Whether or not the socket uses IPV6. Default is false.

Skip Header

True or false; defaults to false. Specifies if the parser should skip the first row of input files. Usually, you would do this if the first row of data contains column headers.