The OSC.send function is currently implemented as follows:
if( this.socket.readyState === 1) { [.......] }else{ console.log("INVALID OSC MESSAGE FORMATION", arguments); } }
and when the socket is ready, it does:
if(typeof _address === 'string' && typeof _typetags === 'string') { ... }else{ console.log( 'socket is not yet connected...' ) }
That means that if socket.readyState != 1, it says "invalid osc message..." and if the message is invalid, it says "socket is not yet connected...".
The OSC.send function is currently implemented as follows:
if( this.socket.readyState === 1) { [.......] }else{ console.log("INVALID OSC MESSAGE FORMATION", arguments); } }
and when the socket is ready, it does:
if(typeof _address === 'string' && typeof _typetags === 'string') { ... }else{ console.log( 'socket is not yet connected...' ) }
That means that if socket.readyState != 1, it says "invalid osc message..." and if the message is invalid, it says "socket is not yet connected...".