public void JsonTest() { ServerSocketOne sso = new ServerSocketOne(); Socket s = sso.StartHost(); JsonBytes jb = new JsonBytes(s); try { jb.Recived += PrintObject; } catch (Exception) { } }
public void StringTest() { ServerSocketOne sso = new ServerSocketOne(); Socket s = sso.StartHost(); StringBytes sb = new StringBytes(s); try { sb.Recived += PrintString; } catch (Exception) { } }
public void SerialTest() { ServerSocketOne sso = new ServerSocketOne(); Socket s = sso.StartHost(); SerialBytes sb = new SerialBytes(s); try { sb.Recived += PrintObject; } catch (Exception) { } }