diff -r e5403e2bf02c -r 37ac593e9027 cocoaTouch/otherSrc/CommodityFunctions.m --- a/cocoaTouch/otherSrc/CommodityFunctions.m Thu Apr 22 17:43:12 2010 +0000 +++ b/cocoaTouch/otherSrc/CommodityFunctions.m Sun Apr 25 02:30:42 2010 +0000 @@ -49,3 +49,9 @@ return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); } + +NSInteger randomPort() { + return (random() % 64541) + 1025; +} + +