using System; using System.Collections.Generic; using System.Text; namespace PlantBox.Shared.Communication { /// /// Contains all informations used to communicate /// public static class Connection { // UDP /// /// Port used by broadcast discovery /// public const int UDP_PORT = 1401; /// /// Request sent for a discovery /// public static readonly byte[] UDP_REQUEST = { 102, 210, 48, 255 }; /// /// Reply sent for a discovery /// public static readonly byte[] UDP_REPLY = { 102, 210, 48, 0 }; // TCP /// /// Port used by the broker to accept clients /// public const int TCP_PORT = 1402; } }