When sending a message through the NetSocket, it would not accept a JsonObject, which might be the format of the message that you want to send, and instead of having to write code to convert it to a Buffer, I added write(JsonObject and writeBuffer(JsonObject) That just converts it into a Buffer object and calls the normal write(Buffer) and writeBuffer(Buffer) implementations.