}
if(this.safeStop == false) {
try {
this.socket = SocketUtility.createSocket(this.settings, true);
if(this.socket != null) {
Connection conn = new TCPIPConnection(this.socket);
this.session = new Session(conn);
BindRequest request = getBindRequest();
Response response = this.session.bind(request);
if(response.getCommandStatus() == Data.ESME_ROK) {
ret = true;