Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chidambaram

macrumors member
Original poster
Mar 9, 2008
67
0
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........
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.