Results 1 to 6 of 6

Thread: winsock Problem

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member razzaj's Avatar
    Join Date
    Oct 1999
    Location
    jounieh
    Posts
    261

    winsock Problem

    I have a server Application that takes connections on Port X lets say.

    When I am terminating the Application I am executing the following code :



    Code:
     
    
    
           Winsock1(0).Close
    and I am looping waiting for the winsock to close

    WHen I try to run the application Again. It always gives me the error Port in USe....

    I have to restart for it to clear the port ... Any ideas How I can explicitely free the Port I am connecting to ?
    Last edited by razzaj; Jun 27th, 2001 at 11:52 AM.
    - regards -
    - razzaj -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width