Added Visual Studio solution for C test scripts and fixed test bug
- Added a Visual Studio solution that builds the C test scripts on Windows. - Updated .gitignore to ignore user specific Visual Studio files - Updated .gitignore to ignore Windows build folders - Fixed a bug in closeTest. It now properly closes the UDP port a second time after reopening the port to verify that it closed successfully.
This commit is contained in:
@@ -44,7 +44,8 @@ short closeTest() // closeUDP test
|
||||
printf("closeUDP - ");
|
||||
struct xpcSocket sendPort = openUDP( 49063, "127.0.0.1", 49009 );
|
||||
closeUDP(sendPort);
|
||||
sendPort = openUDP( 49063, "127.0.0.1", 49009 );
|
||||
sendPort = openUDP(49063, "127.0.0.1", 49009);
|
||||
closeUDP(sendPort);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user