unitClient.java :  » UnTagged » mastercontroller » udpUnitAdapt » Android Open Source

Android Open Source » UnTagged » mastercontroller 
mastercontroller » udpUnitAdapt » unitClient.java
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package udpUnitAdapt;

/**
 *
 * @author axelsben
 */
public class unitClient {
    private udpClient uc = new udpClient();

    unitClient(String server, int port)
    {
        uc.setAddress(server);
        uc.setSocket(port);
        uc.setLogging(false);
    }
    public void send(byte[] bs)
    {
        try
        {
            uc.send(bs);
        }
        catch(Exception x)
        {
        }

    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.