C# Class Examples.ExamplesConsole.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
Mostrar archivo Open project: MarcFletcher/NetworkComms.Net Class Usage Examples

Public Methods

Method Description
RunExample ( ) : void

Run the AdvancedSend example.

Private Methods

Method Description
CreateSendArray ( ) : byte[]

Set object to send as array of primitives

LogMethod ( string strToLog ) : void

Delegate which can be used to log comms method

SelectConnectionType ( ) : void

Method Details

RunExample() public static method

Run the AdvancedSend example.
public static RunExample ( ) : void
return void