Binding fails in socket programming when i do it in loop

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shekaranjanappa
    New Member
    • Dec 2007
    • 1

    Binding fails in socket programming when i do it in loop

    Hi
    I have a requirement to do follwing operation in looop

    1. open socket
    2. start
    3. bind
    4. listion
    5. close socket

    Here used ip address and port is same always.

    the problem i am facing is.. in the first iteration every thing is fine but when it goes for second iteration bind fails to same socket.

    can please any one help me in solving this problem

    Cheers
Working...