Ejemplo n.º 1
0
 /// <summary>
 ///     <c>motSocket</c>
 ///     Constructor setting the target port as a string and setting a callback function for processing binary Read() data
 /// </summary>
 /// <param name="port"></param>
 /// <param name="byteArgCallback"></param>
 public MotSocket(string port, ByteByteDelegate byteArgCallback = null)
 {
     StartUp(Convert.ToInt32(port), byteArgCallback);
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     <c>motSocket</c>
 ///     Constructor setting the target port as an int and setting a callback function for processing Binary Read() data
 /// </summary>
 /// <param name="port"></param>
 /// <param name="byteArgCallback"></param>
 public MotSocket(int port, ByteByteDelegate byteArgCallback = null)
 {
     StartUp(port, byteArgCallback);
 }