Skip to content

Files

ZGuideExamples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ZeroMQ Examples in C#

Hello! I've made some new examples for C#.

Also read: ZeroMQ - The Guide. Current version: ZeroMQ - The Guide Examples.

You can open the ZGuideExamples.*.csproj in Visual C# on Windows or in MonoDevelop on Linux. Add a Reference to the project ZeroMQ /zeromq/clrzmq4.

You also can do msbuild ZGuideExamples.mono.sln if you prefer to use mono framework, or do dotnet msbuild ZGuideExamples.netcore.sln if you prefer to use dotnet framework .NET Standard and .NET Core.

Now run the project using mono bin/Release/ZGuideExamples.exe Espresso if you are using mono framework, or do dotnet run --project ZGuideExamples.netcore.csproj Espresso if you're using dotnet framework.

Usage: ./ZGuideExamples.exe [--option] <command> World

Available [option]s:

  --Verbose

	Usage: ./ZGuideExamples.exe HWClient

	Usage: ./ZGuideExamples.exe HWServer [Name]

        Name   Your name. Default: World
	Usage: ./ZGuideExamples.exe Version
	Usage: ./ZGuideExamples.exe WUServer

	Usage: ./ZGuideExamples.exe WUClient [ZipCode] [Endpoint]

        ZipCode   The zip code to subscribe. Default is 72622 Nürtingen
	    Endpoint  Where WUClient should connect to.
	              Default is tcp://127.0.0.1:5556

	Usage: ./ZGuideExamples.exe WUProxy
	Usage: ./ZGuideExamples.exe TaskVent

	Usage: ./ZGuideExamples.exe TaskWork

	Usage: ./ZGuideExamples.exe TaskSink
	Usage: ./ZGuideExamples.exe MSReader

	Usage: ./ZGuideExamples.exe MSPoller
	Usage: ./ZGuideExamples.exe RRClient

	Usage: ./ZGuideExamples.exe RRWorker [Name] [Endpoint]

        Name      Your Name
	    Endpoint  Where RRClient should connect to.
	              Default is tcp://127.0.0.1:5559

	Usage: ./ZGuideExamples.exe RRBroker

Use with RRServer and RRClient.

	Usage: ./ZGuideExamples.exe MsgQueue

Use with TaskVent.

	Usage: ./ZGuideExamples.exe TaskWork2

	Usage: ./ZGuideExamples.exe TaskSink2

Use with HWClient.

	Usage: ./ZGuideExamples.exe Interrupt [Name]

        Name      Your Name
	Usage: ./ZGuideExamples.exe MTServer

	Usage: ./ZGuideExamples.exe MTRelay
	Usage: ./ZGuideExamples.exe SyncPub

	Usage: ./ZGuideExamples.exe SyncSub
	Usage: ./ZGuideExamples.exe PSEnvPub

	Usage: ./ZGuideExamples.exe PSEnvSub
	Usage: ./ZGuideExamples.exe Identity
	Usage: ./ZGuideExamples.exe RTReq

	Usage: ./ZGuideExamples.exe RTDealer
	Usage: ./ZGuideExamples.exe LBBroker
	Usage: ./ZGuideExamples.exe AsyncSrv
	Usage: ./ZGuideExamples.exe Peering1 World Receiver0
				                Peering1 Receiver0 World

	Usage: ./ZGuideExamples.exe Peering2 World Receiver0
				                Peering2 Receiver0 World
	Usage: ./ZGuideExamples.exe LPClient [Name]

        Name   Your name. Default: World

	Usage: ./ZGuideExamples.exe LPServer

Use with LPClient.

	Usage: ./ZGuideExamples.exe SPQueue

	Usage: ./ZGuideExamples.exe SPWorker

Use with LPClient.

	Usage: ./ZGuideExamples.exe PPQueue

	Usage: ./ZGuideExamples.exe PPWorker [Name]

        Name   Your name. Default: World
	Usage: ./ZGuideExamples.exe FLServer1 [Endpoint]

	    Endpoint  Where FLServer1 should bind on.
	              Default is tcp://127.0.0.1:7780

	Usage: ./ZGuideExamples.exe FLClient1 [Endpoint]

	    Endpoint  Where FLClient1 should connect to.
	              Default is tcp://127.0.0.1:7780
	Usage: ./ZGuideExamples.exe FLServer2 [Endpoint]

	    Endpoint  Where FLServer2 should bind on.
	              Default is tcp://127.0.0.1:7781

	Usage: ./ZGuideExamples.exe FLClient2 [Endpoint] ...

	    Endpoint  Where FLClient2 should connect to.
	              Default is tcp://127.0.0.1:7781
	Usage: ./ZGuideExamples.exe [--verbose] FLServer3

	Usage: ./ZGuideExamples.exe FLClient3 [Name] [Endpoint]

	    Name      Your Name
	    Endpoint  Where FLClient3 should connect to.
	              Default: tcp://127.0.0.1:5555
	Usage: ./ZGuideExamples.exe Espresso
	Usage: ./ZGuideExamples.exe PathoPub [Endpoint]

	    Endpoint  Where PathoPub should connect to.
	              Default is null, Binding on tcp://*:5556

	Usage: ./ZGuideExamples.exe PathoSub [Endpoint]

	    Endpoint  Where PathoSub should connect to.
	              Default is tcp://127.0.0.1:5556

	Usage: ./ZGuideExamples.exe LVCache

        The LVCache is binding on tcp://*:5557 and tcp://*.5558

	Usually, you would use LVCache using PathoPub and PathoSub.
	Use the following commands in three open /bin/bash Tabs,
	or use the following commands in three open Windows cmd.exe:

	./ZGuideExamples.exe LVCache
	./ZGuideExamples.exe PathoPub tcp://127.0.0.1:5557
	./ZGuideExamples.exe PathoSub tcp://127.0.0.1:5558
	Usage: ./ZGuideExamples.exe SuiSnail
	Usage: ./ZGuideExamples.exe EAgain
	Usage: ./ZGuideExamples.exe [--verbose] MDBroker

	Usage: ./ZGuideExamples.exe [--verbose] MDWorker

	Usage: ./ZGuideExamples.exe [--verbose] MDClient
	Usage: ./ZGuideExamples.exe [--verbose] MDBroker

	Usage: ./ZGuideExamples.exe [--verbose] MDWorker

	Usage: ./ZGuideExamples.exe [--verbose] MDClient2
	Usage: ./ZGuideExamples.exe [--verbose] Tripping
	Usage: ./ZGuideExamples.exe [--verbose] MDBroker

	Usage: ./ZGuideExamples.exe [--verbose] MMIECHO

    ---

	Usage: ./ZGuideExamples.exe [--verbose] MDBroker

	Usage: ./ZGuideExamples.exe [--verbose] MDWorker

	Usage: ./ZGuideExamples.exe [--verbose] MMIECHO
	Usage: ./ZGuideExamples.exe [--verbose] MDBroker

	Usage: ./ZGuideExamples.exe [--verbose] MDWorker

	Usage: ./ZGuideExamples.exe [--verbose] Titanic

	Usage: ./ZGuideExamples.exe [--verbose] TiClient