It's a string: > ip = new Buffer([50,53,53,46,50,53,53,46,48,46,48]) <Buffer 32 35 35 2e 32 35 35 2e 30 2e 30> > ip.toString() '255.255.0.0' >
On Friday, 29 November 2013 13:16:52 UTC+11, Reza Razavipour wrote: > > I am getting an array of 16 bytes from my SOAP server and need to convert > that to an IP address on the client side done in Javascript. > > For instance, i get 50,53,53,46,50,53,53,46,48,46,48,0,0,0,0,0 > > How do I convert this into a IP address string? > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
