Continued restructing.
This commit is contained in:
1 parent
5e5e626d28
commit
a46db126e9
294 files changed
+2455
-2189
No files matched your search
+1
-1
@@ -12,7 +12,7 @@ namespace core {
|
||||
void TCPSocket::connect(IPAddress &address) {
|
||||
setDescriptor(socket(AF_INET, SOCK_STREAM, 0));
|
||||
if(::connect(getDescriptor(), (struct sockaddr *)&address.addr, address.addressLength) == -1)
|
||||
throw Exception("Error on connect to TCP socket.");
|
||||
throw coreutils::Exception("Error on connect to TCP socket.");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user