<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="jit.net.send" module="jit" category="Jitter Networking">
	<digest>
		Send matrices to a <o>jit.net.recv</o> object via TCP/IP
	</digest>
	<description>
		Use <o>jit.net.send</o> to send matrices and messages over a network connection to an instance of <o>jit.net.recv</o>.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
		<metadata name="tag">
			Jitter Networking
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--MOP-->
	<mop matrixinputcount="1" matrixoutputcount="0" />
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist />
			<digest>
				Send numbers to a connected <o>jit.net.recv</o> object.
			</digest>
			<description>
				Any number sent in the object's right inlet is output by the middle outlet of the connected <o>jit.net.recv</o>.
			</description>
		</method>
		<method name="float">
			<arglist />
			<digest>
				Send numbers to a connected <o>jit.net.recv</o> object.
			</digest>
			<description>
				Any number sent in the object's right inlet is output by the middle outlet of the connected <o>jit.net.recv</o>.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="matrix-name" type="symbol" />
			</arglist>
			<digest>
				Send data to a connected <o>jit.net.recv</o> object.
			</digest>
			<description>
				Any message sent in the object's right inlet is output by the middle outlet of the connected <o>jit.net.recv</o>.
			</description>
		</method>
	</methodlist>
	<jittermethodlist>
		<jittermethod name="bang" />
		<jittermethod name="clear" />
		<jittermethod name="exportattrs" />
		<jittermethod name="exportsummary" />
		<jittermethod name="getattributes" />
		<jittermethod name="getstate" />
		<jittermethod name="jit_matrix" />
		<jittermethod name="importattrs" />
		<jittermethod name="outputmatrix" />
		<jittermethod name="summary" />
	</jittermethodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="connected" get="1" set="1" type="int" size="1">
			<digest>
				Server connect flag
			</digest>
			<description>
				Whether or not the object is currently connected to a <o>jit.net.recv</o> server.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Connected" />
			</attributelist>
		</attribute>
		<attribute name="host" get="1" set="1" type="symbol" size="1">
			<digest>
				Domain name to connect with
			</digest>
			<description>
				The domain name to form a connection with (default = localhost)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Host" />
			</attributelist>
		</attribute>
		<attribute name="ip" get="1" set="1" type="symbol" size="1">
			<digest>
				IP address to connect with
			</digest>
			<description>
				The IP address to form a connection with (default = 127.0.0.1, the local loopback)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="IP Address" />
			</attributelist>
		</attribute>
		<attribute name="latency" get="1" set="1" type="float" size="1">
			<digest>
				Estimated current latency
			</digest>
			<description>
				An estimate of the time between a matrix being input to the <o>jit.net.send</o> object and being output from the corresponding <o>jit.net.recv</o>.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Latency" />
			</attributelist>
		</attribute>
		<attribute name="nagle" get="1" set="1" type="int" size="1">
			<digest>
				Nagle's algorithm flag
			</digest>
			<description>
				Toggles the use of Nagle's algorithm flag (default is 0/off). Improves network efficiency for small packet sizes, though at the possible expense of latency.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Nagle" />
			</attributelist>
		</attribute>
		<attribute name="port" get="1" set="1" type="int" size="1">
			<digest>
				Port for connection
			</digest>
			<description>
				The port to use when creating the connection (default = 7474)
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Port" />
			</attributelist>
		</attribute>
		<attribute name="report" get="1" set="1" type="int" size="1">
			<digest>
				Connection reporting enable
			</digest>
			<description>
				Toggles the report connected flag (default is 1/on). When enabled, the <o>jit.net.recv</o> object will report connection information out the dumpout outlet.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Report" />
			</attributelist>
		</attribute>
	</attributelist>
	<jitterattributelist>
		<jitterattribute name="outputmode" />
		<jitterattribute name="adapt" />
	</jitterattributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="jit.net.send.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="jit.broadcast" />
		<seealso name="jit.net.recv" />
		<seealso name="jit.qt.broadcast" />
		<seealso module="jit" name="jitterchapter52" type="tutorial" />
	</seealsolist>
</c74object>
