Results 1 to 5 of 5

Thread: [RESOLVED] run time error help

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    419

    Resolved [RESOLVED] run time error help

    hey,

    when i try to run my application i keep on getting:

    Run-time error '10048':
    Address in use

    Can anyone tell me what the problem is?

    it happens when i try to open my app and when i try to run it as a test inside VB it has this error and selects the line:

    VB Code:
    1. sckMsgBoxType.Listen
    If a post has been usefull then Rate it!

  2. #2
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: run time error help

    At a guess I'd say you've assigned an IP address to your socket that is being used elsewhere.
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

  3. #3

  4. #4
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: run time error help

    You can not Listen on a port if another program is using that port (or if you're already using that port in your VB program).

    ie:

    Winsock1.LocalPort = 80
    Winsock1.Listen

    Winsock2.LocalPort = 80
    Winsock2.Listen

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    419

    Re: run time error help

    Thank you all for that, my problem was that i had 2 of the same ports.
    If a post has been usefull then Rate it!

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