Now, I'm really not sure what the socket.io does when it reconnects, but I think there shouldn't be multiple messages coming across the normal WebSocket, since I close old connections before attempting to open new ones.
Are you 100% sure that the messages coming across are duplicates?
Maybe it's something opera-related as I tried another PC with Opera and it still ends up in getting duplicate trades.
There's a full log when it started to get three exact trades and stopped to get any shortly after that.
02:16:15 > Got 1629 asks and 7367 bids.
02:16:13 > Opening streaming data connection.
02:16:13 > Loading full depth of market table.
02:15:15 > Got 1629 asks and 7367 bids.
02:15:13 > Opening streaming data connection.
02:15:13 > Loading full depth of market table.
02:14:34 > Got 1629 asks and 7367 bids.
02:14:32 > Opening streaming data connection.
02:14:32 > Loading full depth of market table.
02:14:25 > MtGox: Connected.
02:14:19 > Attempting connection over websocket
02:14:19 > Got 1629 asks and 7367 bids.
02:14:17 > Opening streaming data connection.
02:14:17 > Loading full depth of market table.
02:14:13 > MtGox: Connection error.
02:14:11 > Got 1629 asks and 7367 bids.
02:14:10 > Loading depth of market table.
02:14:10 > Opening streaming data connection.
02:13:07 > Unwinding buffered depth messages.
02:13:07 > Got 1635 asks and 7375 bids.
02:13:07 > Current trend: +0.10000 USD, Volume:247.9849 BTC
02:13:07 > Current trend: +0.10000 USD, Volume:243.0350 BTC
02:13:07 > Current trend: +0.10000 USD, Volume:238.0851 BTC
02:13:07 > Current trend: +0.10000 USD, Volume:233.1352 BTC
02:13:07 > Current trend: +0.10000 USD, Volume:155.4234 BTC
02:13:07 > Direction change up. Volume: 77.7117 BTC
02:13:06 > Current trend: -0.10000 USD, Volume:37.9800 BTC
02:13:06 > Current trend: -0.10000 USD, Volume:28.9800 BTC
02:13:06 > Current trend: -0.10000 USD, Volume:19.9800 BTC
02:13:05 > Synchronizing the order book.
02:11:58 > Got 1635 asks and 7375 bids.
02:11:57 > MtGox: Connected
02:11:56 > Loading depth of market table.
02:11:56 > Opening streaming data connection.
02:11:28 > Got 1629 asks and 7360 bids.
02:11:27 > MtGox: Connected
02:11:26 > Loading depth of market table.
02:11:26 > Opening streaming data connection.
02:11:18 > Current trend: -0.10000 USD, Volume:10.9800 BTC
02:11:15 > Current trend: -0.10000 USD, Volume:10.8800 BTC
02:11:14 > Direction change down. Volume: 0.8800 BTC
02:11:05 > Current trend: 0.00000 USD, Volume:9.0383 BTC
02:11:02 > Unwinding buffered depth messages.
02:11:02 > Got 1629 asks and 7360 bids.
02:11:02 > Buffering ask 0.00936355 @ 74.17896
02:11:02 > Buffering ask 0 @ 74.17896
02:11:02 > MtGox: Connected
02:11:00 > Loading depth of market table.
02:11:00 > Opening streaming data connection.
02:10:56 > MtGox: Connection error.
02:10:55 > Got 1629 asks and 7360 bids.
02:10:53 > Loading depth of market table.
02:10:53 > Opening streaming data connection.
02:10:45 > MtGox: Connection error.
02:10:44 > Got 1629 asks and 7360 bids.
02:10:42 > Loading depth of market table.
02:10:42 > Opening streaming data connection.
02:10:42 > Changing depth display to 100 rows.
02:10:42 > Resizing console to 5 lines.