<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SysLog in PowerShell</title>
	<atom:link href="http://www.indented.co.uk/index.php/2009/12/01/syslog-in-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.indented.co.uk/index.php/2009/12/01/syslog-in-powershell/</link>
	<description></description>
	<lastBuildDate>Thu, 09 Sep 2010 08:18:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Bert</title>
		<link>http://www.indented.co.uk/index.php/2009/12/01/syslog-in-powershell/comment-page-1/#comment-414</link>
		<dc:creator>Bert</dc:creator>
		<pubDate>Tue, 10 Aug 2010 08:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.highorbit.co.uk/?p=1215#comment-414</guid>
		<description>This script was very useful for me!
Thanks.

Bert</description>
		<content:encoded><![CDATA[<p>This script was very useful for me!<br />
Thanks.</p>
<p>Bert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.indented.co.uk/index.php/2009/12/01/syslog-in-powershell/comment-page-1/#comment-53</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 16 Dec 2009 16:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.highorbit.co.uk/?p=1215#comment-53</guid>
		<description>I&#039;ve added in an option to prevent hostname lookup entirely. With this the script will write in the connecting IP address if generating a new Header.

The error message is perhaps most likely caused by the script being run more than once in the same PowerShell session. It needs a Stop-SysLog type command to flush out all the existing network sockets. At the moment the only way to flush those is by closing and re-opening the PS window. I&#039;ll have a look at making that aspect more robust (it&#039;s part of the error handling it needs).

Chris</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added in an option to prevent hostname lookup entirely. With this the script will write in the connecting IP address if generating a new Header.</p>
<p>The error message is perhaps most likely caused by the script being run more than once in the same PowerShell session. It needs a Stop-SysLog type command to flush out all the existing network sockets. At the moment the only way to flush those is by closing and re-opening the PS window. I&#8217;ll have a look at making that aspect more robust (it&#8217;s part of the error handling it needs).</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sawall</title>
		<link>http://www.indented.co.uk/index.php/2009/12/01/syslog-in-powershell/comment-page-1/#comment-52</link>
		<dc:creator>sawall</dc:creator>
		<pubDate>Sat, 12 Dec 2009 20:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.highorbit.co.uk/?p=1215#comment-52</guid>
		<description>sometimes it works, sometimes it doesn&#039;t.  i get this error most of the times i try to run it.

Exception calling &quot;ReceiveFrom&quot; with &quot;2&quot; argument(s): &quot;You must call the Bind method before performing this operation.&quot;
At C:\Syslog\syslogserver.ps1:78 char:41
+     $BytesReceived = $Socket.ReceiveFrom &lt;&lt;&lt;&lt; ($Buffer, [Ref]$SenderEndPoint)
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

i have disabled message validation, that didn&#039;t help. my main goal was to not do a DNS lookup on the sending device. but i can&#039;t seem to figure out what the above error means or how to fix it.  i&#039;ve done a ton of Google searches.

thanks.</description>
		<content:encoded><![CDATA[<p>sometimes it works, sometimes it doesn&#8217;t.  i get this error most of the times i try to run it.</p>
<p>Exception calling &#8220;ReceiveFrom&#8221; with &#8220;2&#8243; argument(s): &#8220;You must call the Bind method before performing this operation.&#8221;<br />
At C:\Syslog\syslogserver.ps1:78 char:41<br />
+     $BytesReceived = $Socket.ReceiveFrom &lt;&lt;&lt;&lt; ($Buffer, [Ref]$SenderEndPoint)<br />
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException<br />
    + FullyQualifiedErrorId : DotNetMethodException</p>
<p>i have disabled message validation, that didn&#039;t help. my main goal was to not do a DNS lookup on the sending device. but i can&#039;t seem to figure out what the above error means or how to fix it.  i&#039;ve done a ton of Google searches.</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
