From: Cliff Rosson Date: 2012-10-08T03:13:36+09:00 Subject: Re: know my IP in LAN --14dae93408732c4bf704cb7c108f Content-Type: text/plain; charset=ISO-8859-1 Use gethostbyaddr. Toss it in a string and send it along. http://www.ruby-doc.org/stdlib-1.9.3/libdoc/socket/rdoc/Socket.html#method-c-gethostbyaddr On Sun, Oct 7, 2012 at 10:20 AM, ajay paswan wrote: > Hi how can I know my IP through which two computers communicate in LAN? > Like in socket, I wanna send my IP to the target machine. > > -- > Posted via http://www.ruby-forum.com/. > > -- http://about.me/cliffrosson vizualize.me/cliffrosson --14dae93408732c4bf704cb7c108f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Use gethostbyaddr. Toss it in a string and send it along.

http://www.ruby-doc.org/stdlib-1.9.3/libdoc/s= ocket/rdoc/Socket.html#method-c-gethostbyaddr


On Sun, Oct 7, 2012 at 10:20 AM, aj= ay paswan <lists@ruby-forum.com> wrote:
Hi how can I know my IP through which two computers communicate in LAN?
Like in socket, I wanna send my IP to the target machine.

--
Posted via http://= www.ruby-forum.com/.




-- vizualize.me/cliffrosson
--14dae93408732c4bf704cb7c108f--