<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://fenixdocs.com/skins/common/feed.css?63"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>NET SendVar - Revision history</title>
		<link>http://fenixdocs.com/index.php?title=NET_SendVar&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.10.1</generator>
		<lastBuildDate>Fri, 01 May 2026 08:34:58 GMT</lastBuildDate>
		<item>
			<title>Sandman: /* Returns */</title>
			<link>http://fenixdocs.com/index.php?title=NET_SendVar&amp;diff=3595&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Returns&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Revision as of 11:59, 2 October 2007&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 37:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 37:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;| NET_ERROR_CONNINACTIVE || - The connection is inactive.&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;| NET_ERROR_CONNINACTIVE || - The connection is inactive.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;| NET_ERROR_MESSAGETOOLONG || - The &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;message &lt;/del&gt;is too &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;long&lt;/del&gt;.&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;| NET_ERROR_MESSAGETOOLONG || - The &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;data &lt;/ins&gt;is too &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;big&lt;/ins&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;| NET_ERROR_SENDING || - Could not send.&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;| NET_ERROR_SENDING || - Could not send.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Tue, 02 Oct 2007 11:59:33 GMT</pubDate>			<dc:creator>Sandman</dc:creator>			<comments>http://fenixdocs.com/index.php/Talk:NET_SendVar</comments>		</item>
		<item>
			<title>Sandman: /* Definition */</title>
			<link>http://fenixdocs.com/index.php?title=NET_SendVar&amp;diff=3593&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Definition&lt;/span&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Revision as of 11:51, 2 October 2007&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 13:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 13:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;A null character on the end is not needed:&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;A null character on the end is not needed:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt; NET_SendVar( netid , &amp;amp;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;msg &lt;/del&gt;, sizeof(&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;msg&lt;/del&gt;) );&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt; NET_SendVar( netid , &amp;amp;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;data &lt;/ins&gt;, sizeof(&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;data_element)*elements );&lt;/ins&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;Or send an integer:&lt;/ins&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; NET_SendVar( netid , &amp;amp;my_int , sizeof(int&lt;/ins&gt;) );&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;Or send a struct:&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;Or send a struct:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt; NET_SendVar( netid , mystruct , sizeof(mystruct) );&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt; NET_SendVar( netid , mystruct , sizeof(mystruct) );&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Tue, 02 Oct 2007 11:51:19 GMT</pubDate>			<dc:creator>Sandman</dc:creator>			<comments>http://fenixdocs.com/index.php/Talk:NET_SendVar</comments>		</item>
		<item>
			<title>Sandman at 22:49, 12 September 2007</title>
			<link>http://fenixdocs.com/index.php?title=NET_SendVar&amp;diff=3461&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Revision as of 22:49, 12 September 2007&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 44:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 44:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Notes ==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;== Notes ==&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;Make sure the data is received properly. If you send a struct, be sure the receiver knows he should be receiving a struct and then receive the struct like it should. [[NET_RecvVar]]() is helpful for this.&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;Make sure the data is received properly. If you send a struct, be sure the receiver knows he should be receiving a struct and then receive the struct like it should. [[NET_RecvVar]]() is helpful for this.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;{{Netfuncbox}}&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 12 Sep 2007 22:49:24 GMT</pubDate>			<dc:creator>Sandman</dc:creator>			<comments>http://fenixdocs.com/index.php/Talk:NET_SendVar</comments>		</item>
		<item>
			<title>Sandman: message -&gt; data</title>
			<link>http://fenixdocs.com/index.php?title=NET_SendVar&amp;diff=3392&amp;oldid=prev</link>
			<description>&lt;p&gt;message -&amp;gt; data&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Revision as of 19:53, 12 September 2007&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 8:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 8:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;==Definition==&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;==Definition==&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;'''INT''' NET_SendVar ( &amp;lt;'''WORD''' connection&amp;gt; , &amp;lt;'''BYTE POINTER''' &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;message&lt;/del&gt;&amp;gt; , &amp;lt;'''INT''' length&amp;gt; , [&amp;lt;'''BYTE''' includeseparator&amp;gt;] )&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;'''INT''' NET_SendVar ( &amp;lt;'''WORD''' connection&amp;gt; , &amp;lt;'''BYTE POINTER''' &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;data&lt;/ins&gt;&amp;gt; , &amp;lt;'''INT''' length&amp;gt; , [&amp;lt;'''BYTE''' includeseparator&amp;gt;] )&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;Sends &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;a message &lt;/del&gt;in array form or &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;send &lt;/del&gt;a byte, word or int.&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;Sends &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;data &lt;/ins&gt;in array form or a byte, word or int &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;or whatever other variable&lt;/ins&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;A null character on the end is not needed:&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;A null character on the end is not needed:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 21:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 21:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;| '''WORD''' connection || - The connection identifier.&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;| '''WORD''' connection || - The connection identifier.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;| '''BYTE''' &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;pointer message &lt;/del&gt;|| - The pointer to the &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;message&lt;/del&gt;/variable.&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;| '''BYTE &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;POINTER&lt;/ins&gt;''' &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;data &lt;/ins&gt;|| - The pointer to the &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;data&lt;/ins&gt;/variable.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;| '''INT''' length || - The length/size of the &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;message&lt;/del&gt;/variable.&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;| '''INT''' length || - The length/size of the &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;data&lt;/ins&gt;/variable.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; font-size: smaller;&quot;&gt;| ['''BYTE''' includeseparator] || - [[true]]/[[false]]: whether the connection's separator will be added to the &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;message &lt;/del&gt;at the end. Default is true.&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;| ['''BYTE''' includeseparator] || - [[true]]/[[false]]: whether the connection's separator will be added to the &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;data &lt;/ins&gt;at the end. Default is true.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|}&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;|}&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Wed, 12 Sep 2007 19:53:05 GMT</pubDate>			<dc:creator>Sandman</dc:creator>			<comments>http://fenixdocs.com/index.php/Talk:NET_SendVar</comments>		</item>
		<item>
			<title>Sandman: New page: Category:functions Category:networkdll Category:dll  '''Up to Network.DLL Functions''' ----   ==Definition== '''INT''' NET_SendVar ( &lt;'''WORD'''...</title>
			<link>http://fenixdocs.com/index.php?title=NET_SendVar&amp;diff=3391&amp;oldid=prev</link>
			<description>&lt;p&gt;New page: &lt;a href=&quot;/index.php/Category:Functions&quot; title=&quot;Category:Functions&quot;&gt;Category:functions&lt;/a&gt; &lt;a href=&quot;/index.php/Category:Networkdll&quot; title=&quot;Category:Networkdll&quot;&gt;Category:networkdll&lt;/a&gt; &lt;a href=&quot;/index.php/Category:Dll&quot; title=&quot;Category:Dll&quot;&gt;Category:dll&lt;/a&gt;  &lt;a href=&quot;/index.php/Functioncategory:Networkdll&quot; title=&quot;Functioncategory:Networkdll&quot;&gt;'''Up to Network.DLL Functions'''&lt;/a&gt; ----   ==Definition== '''INT''' NET_SendVar ( &amp;lt;'''WORD'''...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:functions]]&lt;br /&gt;
[[Category:networkdll]]&lt;br /&gt;
[[Category:dll]]&lt;br /&gt;
&lt;br /&gt;
[[Functioncategory:Networkdll|'''Up to Network.DLL Functions''']]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
'''INT''' NET_SendVar ( &amp;lt;'''WORD''' connection&amp;gt; , &amp;lt;'''BYTE POINTER''' message&amp;gt; , &amp;lt;'''INT''' length&amp;gt; , [&amp;lt;'''BYTE''' includeseparator&amp;gt;] )&lt;br /&gt;
&lt;br /&gt;
Sends a message in array form or send a byte, word or int.&lt;br /&gt;
&lt;br /&gt;
A null character on the end is not needed:&lt;br /&gt;
 NET_SendVar( netid , &amp;amp;msg , sizeof(msg) );&lt;br /&gt;
Or send a struct:&lt;br /&gt;
 NET_SendVar( netid , mystruct , sizeof(mystruct) );&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{|&lt;br /&gt;
| '''WORD''' connection || - The connection identifier.&lt;br /&gt;
|-&lt;br /&gt;
| '''BYTE''' pointer message || - The pointer to the message/variable.&lt;br /&gt;
|-&lt;br /&gt;
| '''INT''' length || - The length/size of the message/variable.&lt;br /&gt;
|-&lt;br /&gt;
| ['''BYTE''' includeseparator] || - [[true]]/[[false]]: whether the connection's separator will be added to the message at the end. Default is true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
'''INT''' : The size of the succesfully sent data. With the separatorlength, if the separator was added.&lt;br /&gt;
{|&lt;br /&gt;
| NET_ERROR_INVALIDCONN || - The connection is invalid.&lt;br /&gt;
|-&lt;br /&gt;
| NET_ERROR_CONNINACTIVE || - The connection is inactive.&lt;br /&gt;
|-&lt;br /&gt;
| NET_ERROR_MESSAGETOOLONG || - The message is too long.&lt;br /&gt;
|-&lt;br /&gt;
| NET_ERROR_SENDING || - Could not send.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;gt;=0 || - The size of the succesfully sent data. With the separatorlength, if the separator was added.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
Make sure the data is received properly. If you send a struct, be sure the receiver knows he should be receiving a struct and then receive the struct like it should. [[NET_RecvVar]]() is helpful for this.&lt;/div&gt;</description>
			<pubDate>Wed, 12 Sep 2007 19:49:44 GMT</pubDate>			<dc:creator>Sandman</dc:creator>			<comments>http://fenixdocs.com/index.php/Talk:NET_SendVar</comments>		</item>
	</channel>
</rss>