Results 1 to 3 of 3

Thread: Problem using this class...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2001
    Location
    Guess....i have wooden shoes, in my free time i sell tulips and I live in a huge windmill...
    Posts
    176

    Problem using this class...

    I found this
    great class on planetsourcecode and it works great, apart from 1 tiny little thing: I can't get it to disconnect. I tried to ask the auther but he calls me a dumbass and stuff :-). He might be right but i still want to get it working cause it's cool. Could anyone check it out for me and tell me if they exp. the same problem? Thank you
    JpEgy

  2. #2
    Addicted Member
    Join Date
    Mar 2001
    Location
    Devon, UK
    Posts
    181
    He seems to have created an onDisconnect event but not done anything with it.
    I think you need to add a sub wsClient_onDisconnect to the form and a button firing this event if you want to manually disconnect.
    Wind and waves resolves all problems.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Dec 2001
    Location
    Guess....i have wooden shoes, in my free time i sell tulips and I live in a huge windmill...
    Posts
    176
    I already tried that but it gives me the same error every time.

    Error: Cannot access a disposed object named "System.Net.Sockets.Socket".
    Object name: "System.Net.Sockets.Socket".

    can't really make much of it.....


    If anybody else has something like a socket class i could use that would be ok too.

    thnx
    JpEgy

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