Results 1 to 9 of 9

Thread: .NET implementation of the net functionality...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325

    Thumbs down .NET implementation of the net functionality...

    It's an impression of mine, or maybe the .NET implementation of the net functionality isn't good??? I noticed that I can't try to resolve, let's say 10, IP simultaneously! It will run sloooooooooww!!! And it gets slower if I rise this number... Thern I can't connect to 10 IP "simultaneously", because they aren't resolved

    No bug. I put a two breakpoints: one just before the resolve line, one just after. The code freezes here.

    Anyone else has suspected similar things?

    Best regards,
    Xmas79
    Learn, this is the Keyword...

  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    This is the price you pay to use VB .NET.

    You need to develop a quick application, you use .NET, but if speed is a problem, you will probably be looking at C++ and not using the .NET framework (because even if you use C++ and then you use the .NET framework, I doubt it would be much faster, if any comapred to the VB .NET program)

  3. #3
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    sorry but dont say bull****..that has nothing to do, the c++ and .net version of a prog that does what the guy say will have like only 10-20% difference at most in time..if u want to ping or whatever to 10 ips at the same times you'll just have to use threads..if u do that u are doing without threads in c++ it will take forever too
    \m/\m/

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325
    Sure I'm doing it with threads!!! Waiting for "the before" doesn't mean "simultaneously"....
    Learn, this is the Keyword...

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325
    And also: what speed ???? The problem isn't speed!!!! All I do is resolving the 10 ips in 10 different threads, but my CPU is 0% using during this!!!!!!!!!!!!!!!

    So there's something in the .NET framework, I think....

    And the last thing: if I resolve 30 ips, it takes A LOT, and fail to resolve all 30 THIS IS STRANGE, ISN'T IT???
    Learn, this is the Keyword...

  6. #6
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    is your internet connection slow or something like that? try it in c++ to see if its faster or not..
    \m/\m/

  7. #7
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    dont do the 30 at the same time..do like 2 at each time
    \m/\m/

  8. #8
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    I'm curious. Can you post the project? I think I'll be able to make it faster.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325
    Here's the project. Sorry for the comments, they are italian, mixed with english, bad english

    At startup it will download from internet a list of "hubs", just try to connect to all the hubs in the first page. (Mine are 26). There are some bugs, always due to the socket implementation.
    And remember that the first thing that can't make this program fly is: bad code

    Also I have a bug in the publicshubs form, the ordering method doesn't work... Anyone can have a look at that??? The ICompare class seems ok, but it still doesn't work.

    Best regards,
    Xmas79
    Attached Files Attached Files
    Learn, this is the Keyword...

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