Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Method to force disconnect and socket close without sending DISCONNECT message?

Hi Marc,

no there isn't.  Options:

1) alter the client yourself
2) I use a proxy like the one in here:

http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.testing.git/tree/interoperability/mqtt/proxy

to sit between client and server and break the connection at will.

Ian

On 11/10/2015 09:24 PM, mlcohen@xxxxxxxxxx wrote:
Is there a method on the Java client I can use to force the closing of the
socket without sending the DISCONNECT message? What I am trying to do is to
force the server to process the last will.


Marc L. Cohen
MessageSight Test/Development
Internet:mlcohen@xxxxxxxxxx
  also at:teddybbear@xxxxxxx
(512) 286-5744 (T/L 363-5744)
FAX (512) 973-4293

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

--
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto



Back to the top