public void Connect(BluetoothEndPoint ep) { this.CloseSocket(); if (this.socket == null) { this.socket = new BluetoothSocket(); } this.socket.Connect(ep); }