Closed indutny closed 12 years ago
Interesting. Looks like maybe node is giving you two udp packets in one buffer? Is there a way you can give me the contents of msg
?
Node won't put different packets in one buffer, and this error wasn't reported by me. /cc @jesusabdullah
I get this when I try to print the buffer (in the context of vock):
josh@onix:~/dev/vock$ ./bin/vock create
/// Vock - VoIP on node.js ///
Enter your private key password:
msg: <Buffer 00 81 00 00 00 10 e4 1c d5 08 d5 08 00 00 07 08>, msg.length: 16, pos: 8
Successfully created port mapping via pmp (port 54536)
msg: <Buffer 00 82 00 00 00 10 e4 1c d5 08 d5 08 00 00 07 08>, msg.length: 16, pos: 16
Room created!
Run this on other side:
vock connect f4bd03e0096ca64d60c4d88d5741614d6660e441
Waiting for opponent...
I hope this is helpful.
@jesusabdullah Yes, very helpful indeed!
@indutny @jesusabdullah Thanks for the report guys, fixed in ca169146a70965574e8b988b7ba987eb9d353509, and in the v0.0.2 release. Cheers!