cocoaTouch/otherSrc/CommodityFunctions.m
changeset 3365 37ac593e9027
parent 3352 ac5d14a35482
child 3373 c1ff724a5c34
--- 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;
+}
+
+