Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 11, 2008, 02:54 AM   #1
chidambaram
macrumors member
 
Join Date: Mar 2008
how to open and close a port in XCode using carbon?

Hi all,

I am working a Carbon Application in XCode.

I want to send a message from one system to another system.

I created the socket, binded to a port and send the message.

The message is sent to another machine. When i tried to send next message it shows error in binding. If i change the port number for next message it is working.

So how can i close a port ? So that i use the same port number for all messages.

Help me with some code.....

Thanks in advance and urgent plz........
chidambaram is offline   0 Reply With Quote
Old Mar 11, 2008, 07:15 AM   #2
Cromulent
macrumors 603
 
Cromulent's Avatar
 
Join Date: Oct 2006
Location: The Land of Hope and Glory
Post some code otherwise no one knows what you are doing.
__________________
Neural Advance - Mac OS X, UNIX and Windows Development
Last.fm Profile | Extreme Metal Reviews
MP 4x 2.66Ghz Xeons / 6GB RAM / 640GB + 500GB + 750GB + 1TB HDDs / ATI Radeon 4870 / iPad 3
Cromulent is online now   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
IPHONE 4 how to JAILBREAK AND UNLOCK bs2511feist Jailbreaks and iOS Hacks 6 Apr 14, 2012 05:52 PM
How To Open & Close Tabs in Safari, Via MultiTouch Gestures? Is MultiClutch Working? HappyDude20 Mac OS X 10.7 Lion 1 Jul 21, 2011 02:02 AM
Xcode - How to open more than 1 project in Groups & Files? mcbi4kh2 Mac Programming 8 May 9, 2010 12:39 PM
how can i set the data to the text view control in xcode using carbon c? chidambaram Mac Programming 1 Mar 10, 2008 02:46 AM
f12 is suppose to open AND close cd tray.... NusuniAdmin Macintosh Computers 5 Feb 19, 2004 05:37 PM


All times are GMT -5. The time now is 11:50 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC