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:
jason-watkins
2015-03-23 16:10:50 -07:00
parent ef6c80d7a4
commit f902303b20
6 changed files with 195 additions and 1 deletions

View File

@@ -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;
}