<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.net> <settings> <socket alwaysUseCompletionPortsForAccept="true" alwaysUseCompletionPortsForConnect="true" /> </settings> </system.net> <system.diagnostics> <sources> <source name="System.Net.Sockets"> <listeners> <add name="Sockets"/> </listeners> </source> </sources> <switches> <!-- The value tag below is a TraceLevel enumeration. Change it to start logging. --> <add name="System.Net.Sockets" value="Off" /> </switches> <sharedListeners> <add name="Sockets" type="System.Diagnostics.TextWriterTraceListener" initializeData="Sockets.log"/> </sharedListeners> <trace autoflush="true" /> </system.diagnostics> </configuration>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)