   send: (packet) ->
     if @connected
       
-      console.log 'sending packet', packet
+      console.log '⟸', packet
       
       packet.finalize()
       
-      packet.dump()
+      console.log packet.toString()
+      console.log packet.toHex()
+      console.log packet.toASCII()
       
       @socket.send(packet.buffer)
       

    @socket = null
    
    # Holds buffered data
    @buffer = new ByteBuffer(0)
    
    # Holds (partial) packet (if any) and its remaining size in bytes
    @packet = null

# Base-class for any socket including signals and host/port management
class WrathNet.net.Socket
  
  # Creates a new socket
  constructor: ->
    
