Working compile copy.

This commit is contained in:
Brad Arant committed 2019-03-04 13:08:34 -08:00
1 parent 41ff757f09
commit f894f3fb66
54 files changed
+249 -355

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ namespace core {
void TCPSocket::connect(IPAddress &address) {
setDescriptor(socket(AF_INET, SOCK_STREAM, 0));
if(::connect(getDescriptor(), (struct sockaddr *)&address.address, address.addressLength) == -1)
if(::connect(getDescriptor(), (struct sockaddr *)&address.addr, address.addressLength) == -1)
throw Exception("Error on connect to TCP socket.");
}