C# (CSharp) Examples.ExamplesConsole 네임스페이스

클래스들

이름 설명
AdvancedSend Advanced send demonstrates how to send and receive more complicated objects. Note that arrays of primitive types are serialised differently from arrays of non-primitives. This is done to achieve better performance and lower memory usage
AdvancedSend.BinaryFormatterCustomObject
AdvancedSend.JSONSerializerCustomObject
AdvancedSend.ProtobufCustomObject
BasicSend Networking in only 11 lines (not including comments and white space of course). Note: This example deliberately includes no validation or exception handling in order to keep it as short as possible (i.e. it's easy to break).
DFSTest
ExampleHelper Provides implementation shared across examples
IntermediateSend IntermediateSend demonstrates how to send and receive primitive objects (ints, strings etc). This example aims to bridge the gap between the relatively simple BasicSend and much more extensive AdvancedSend
NLogLogger An example implementation of an external logging framework, in this case NLog. Uses a simple configuration that logs to console (DEBUG log level and above) and to a file (All log Levels).
PeerDiscoveryExample
Program
RPCExample An example which demonstrates Remote Procedure Calls using NetworkComms.Net
RPCExample.ClientExampleInstance We are going to isolate the server and client example to demonstrate that the client never has to see the implementation used for IMath
RPCExample.MathEventArgs
RPCExample.ServerExampleInstance We are going to isolate the server and client example to demonstrate that the client never has to see the implementation used for IMath
RPCExample.ServerExampleInstance.MathClass
SSLExample Example which demonstrates the ability to establish SSL encrypted TCP connections
SpeedTest Used for testing the performance of networks
UnmanagedConnectionExample Advanced test demonstrates how to send and receive more complicated objects. Note that arrays of primitive types are serialised differently from arrays of non-primitives. This is done to achieve better performance and lower memory usage