again trying to get host name
git-svn-id: svn://anubis/gvsu@154 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
e517d04df1
commit
aa97749483
@ -97,6 +97,8 @@ public class ChatClient
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void run()
|
public void run()
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
myListener = new ChatClientListener();
|
myListener = new ChatClientListener();
|
||||||
myRegistrationInfo =
|
myRegistrationInfo =
|
||||||
@ -107,6 +109,12 @@ public class ChatClient
|
|||||||
if (!register())
|
if (!register())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
e.printStackTrace();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start a thread to listen for connections in */
|
/* Start a thread to listen for connections in */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user