Results 1 to 4 of 4

Thread: Winsock bind

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Location
    USA
    Posts
    95

    Winsock bind

    is it necessary to do a bind before you connect. I get this error every once in a while when connecting.

    10022 Socket not bound, invalid address or listen is not invoked prior to accept

    but when I look for what this error means, I get this:

    10022 WSAEINVAL Invalid argument or function sequence or the socket has not been bound with bind.

    Thanks

  2. #2
    Fanatic Member
    Join Date
    Feb 2003
    Location
    Los Angeles, CA
    Posts
    681
    as far as i know, you only have to bind if youre using udp. try figuring out first which protocol your peer is using.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Location
    USA
    Posts
    95
    I Found out that winsock is not multithreaded and is not supposed to be run in IIS.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 2001
    Location
    USA
    Posts
    95
    I Found out that winsock is not multithreaded and is not supposed to run in IIS.

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