When calling -[SocketWrapper remoteHost], we don't want to continually query the...
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 5 Jun 2008 01:39:16 +0000 (21:39 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 5 Jun 2008 01:39:16 +0000 (21:39 -0400)
commita8168fd02ac3797f37d47459f768899cf35c4738
treef61940336e36bfc73a7e81835c9e03adf15e0504
parent228b5447861b95e79ecc705b481ed12980957cb3
When calling -[SocketWrapper remoteHost], we don't want to continually query the hostname

* Source/SocketWrapper.h: Adding a hostname ivar
* Source/SocketWrapper.m:
(remoteHost): Just return the hostname ivar
(connect:): Query the hostname and store it in the hostname ivar
Source/SocketWrapper.h
Source/SocketWrapper.m