Results 1 to 3 of 3

Thread: winsock Help

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    33

    Post

    For some reason when i run winsock and use

    sock1.Connect startip.Text, Module1.Port

    I get a error of 40020 'invalid operation at current state' and i dont know why can anyone help?

    I appreciate it..

  2. #2
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    Before that, put the following:


    If Sock1.State <> sckClosed Then Sock1.Close
    Sock1.LocalPort = 0


    ------------------
    Tom Young, 14 Year Old
    tyoung@stny.rr.com
    ICQ: 15743470 Add Me ICQ Me
    AIM: TomY10
    PERL, JavaScript and VB Programmer

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    33

    Post

    It still doesnt work when i do put that infront of it..
    Any other ideas?

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