Skip to content

Latest commit

 

History

History
 
 

socket

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

socket input

Input event message should end with new line (\n).

Synopsis

{
	"input": [
		{
			"type": "socket",

			// Socket type. Must be one of ["tcp", "udp", "unix", "unixpacket"].
			"socket": "tcp",

			// For TCP or UDP, address must have the form `host:port`.
			// For Unix networks, the address must be a file system path.
			"address": "localhost:9999",

			// (optional) SO_REUSEPORT applied or not, default: false
			"reuseport": false
		}
	]
}

Note: at the moment, UNIXGRAM socket are not supported.