class Appl: addArgs function added.

This commit is contained in:
Roland Jax
2014-06-02 22:04:08 +02:00
parent bc7b4d91b0
commit 370cac97fb
6 changed files with 36 additions and 8 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ TCPSocket* TCPClient::connect(const std::string& server, const int& port)
}
address.sin_family = AF_INET;
address.sin_port = port;
address.sin_port = htons(port);
int sfd = socket(AF_INET, SOCK_STREAM, 0);
if (sfd < 0)