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
Afficher le fichier Open project: MarcFletcher/NetworkComms.Net Class Usage Examples

Méthodes publiques

Méthode Description
RunExample ( ) : void

Run the AdvancedSend example.

Private Methods

Méthode 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 méthode

Run the AdvancedSend example.
public static RunExample ( ) : void
Résultat void