Console client: Print a message if the action was rejected by the server.

This commit is contained in:
lotodore
2008-12-27 09:37:53 +00:00
parent 62a199d5c6
commit e3d7f3d124
5 changed files with 13 additions and 4 deletions
+3 -3
View File
@@ -39,11 +39,11 @@ namespace pokerth_lib
{
// Connect to the server.
// Try IPv6 first.
/*IPAddress[] addresses = new IPAddress[2];
IPAddress[] addresses = new IPAddress[2];
addresses[0] = IPAddress.Parse(m_settings.ServerSettings.IPv6Address);
addresses[1] = IPAddress.Parse(m_settings.ServerSettings.IPv4Address);
m_tcpClient.Connect(addresses, m_settings.ServerSettings.Port);*/
m_tcpClient.Connect("localhost", 7234);
m_tcpClient.Connect(addresses, m_settings.ServerSettings.Port);
//m_tcpClient.Connect("localhost", 7234);
}
public void Start()