/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing;

import java.io.IOException;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
import source.ComLayer;

/**
 *
 * @author anders
 */
public class ComLayerTest {
    public static void main(String[] args) {
        ComLayer com = new ComLayer();
        //com.sendMsg(com.text);
        Scanner in = new Scanner(System.in);
        
        while (true){
            while (in.hasNextLine()){
                try {
                    com.sendBytes(in.nextLine().getBytes());
                } catch (IOException ex) {
                    System.out.println("Send error");
                }
            }
        }
    }
}

@@ -101,16 +101,34 @@
 package 
+no.ntnu.osnap.com.
 testing;
@@ -259,14 +259,36 @@
 ort 
-source
+no.ntnu.osnap.com.deprecated
 .Com

package fix