Merge branch 'master' into partial_frames

This commit is contained in:
Dhanya Maliakal 2015-08-05 12:08:44 +02:00
commit 6d0ee4e738
2 changed files with 3 additions and 0 deletions

View File

@ -436,6 +436,8 @@ typedef struct
void ShutDownSocket(){
while(!shutdown(socketDescriptor, SHUT_RDWR));
close(socketDescriptor);
socketDescriptor = -1;
};

View File

@ -1082,6 +1082,7 @@ int UDPStandardImplementation::createUDPSockets(){
#ifdef VERBOSE
cprintf(BG_RED,"Could not create UDP socket on port %d error: %d\n", port[i], iret);
#endif
shutDownUDPSockets();
return FAIL;
}
}