<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[glen30的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/glen30</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; glen30]]></copyright><item><title><![CDATA[C# 使用HttpListener时候异常（此平台不支持此操作：System.PlatformNotSupportedException）]]></title><link>https://blog.youkuaiyun.com/glen30/article/details/128875169</link><guid>https://blog.youkuaiyun.com/glen30/article/details/128875169</guid><author>glen30</author><pubDate>Fri, 03 Feb 2023 19:46:19 +0800</pubDate><description><![CDATA[C# 使用HttpListener时候异常（此平台不支持此操作：System.PlatformNotSupportedException）解决方法]]></description><category></category></item><item><title><![CDATA[libevent设置超时后取消超时（bufferevent_set_timeouts取消超时无效问题）]]></title><link>https://blog.youkuaiyun.com/glen30/article/details/109547539</link><guid>https://blog.youkuaiyun.com/glen30/article/details/109547539</guid><author>glen30</author><pubDate>Sat, 07 Nov 2020 15:28:43 +0800</pubDate><description><![CDATA[libevent设置超时后取消超时

libevent用 bufferevent_set_timeouts 函数来设置读和写的超时时间timeout，比如设置读超时时间，如果接收超时就会调用设置的错误处理函数。以tcp服务器为例，在accept的时候设置接收超时，但对某写tcp client不能设置接收超时（这个时候就需要取消accept的时候设置的接收超时）。查看 bufferevent_set_timeouts 的源码，超时时间参数传入NULL就会清掉对应的读或者写的超时时间设置，实际测试发现调用buf]]></description><category></category></item><item><title><![CDATA[C# 设置IP地址没有效果问题]]></title><link>https://blog.youkuaiyun.com/glen30/article/details/90693484</link><guid>https://blog.youkuaiyun.com/glen30/article/details/90693484</guid><author>glen30</author><pubDate>Thu, 30 May 2019 11:06:25 +0800</pubDate><description><![CDATA[代码如下：

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management;

namespace 设置IP地址
{
 class Program
 {
 static void SetNetworkAdapter(...]]></description><category></category></item></channel></rss>