Code example for DatagramSocket

Methods: disconnect

0
			catch(IOException ex){ 
			} 
	    	_eventNetwork.Connected(false); 
		 
		}*/ 
		_socket.disconnect();
	} 
	 
	private boolean ConnectSocket(){ 
		/*boolean bret=false; 
		try{ 
			_sc = new Socket(_sIP, 8082);  
			_sc.setSoTimeout(5000); 
	    	_out  = _sc.getOutputStream(); 
	    	_insc = _sc.getInputStream(); 
	    	bret=true; 
	    	_iEngineStatus = ENGINE_NET_STATUS_CONNECTED; 
	    	_eventNetwork.Connected(true); 
		} 
		catch(IOException e){ 
			e.printStackTrace();