Results 1 to 9 of 9

Thread: Which is faster Inet or Winsock?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2001
    Location
    Southern California
    Posts
    733

    Which is faster Inet or Winsock?

    I'm not sure which one of these to use and which is the easiest to use......any help on this???

  2. #2
    Fanatic Member
    Join Date
    Sep 2000
    Posts
    770
    Asking the question “which is faster” is irrelevant to the question of “which is more practical to use in my application”. Taking into consideration that the Inet control is based upon the Winsock API.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2001
    Location
    Southern California
    Posts
    733
    Ok,

    What is the fastest FTP method for VB6?

  4. #4
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    Inet is better and more customizable IMO, but winsock is probably easier to work with... but I've never been able to get winsock to work.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  5. #5
    Member
    Join Date
    Dec 2003
    Location
    NYC
    Posts
    50
    FTP is the same speed no matter how you implement it. The limiting factor is the bandwidth, not your application's efficiency.

    I'm assuming you mean fastest file transfer. If you mean fastest way to write the actual code I would say use the chilkat FTP active x component. I think it is free and you can get it at chilkatsoft.com

  6. #6
    Fanatic Member
    Join Date
    Sep 2000
    Posts
    770
    If you really wanted to get faster preformance, and you are writing your own ftp client, and server. You could compress the data transmission between the two. ipswitch makes ftp software that does this too.

  7. #7
    Fanatic Member
    Join Date
    Sep 2000
    Posts
    770
    Very well put, Spetnik

  8. #8
    Fanatic Member TheVader's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam, the Netherlands
    Posts
    871
    In other words, the INet control is easy as hell but very limited and Winsock is a pain in the ass to use.

    Recently I've used the INet control in my app to use an FTP connection, but it suffers from a timeout and it cannot transfer files Ascii.

    Take a look at this thread and check out James' article. Using FTP via API is very easy and much more stable.
    Author for Visual Basic Web Magazine

    My articles on the Web Browser Control:
    Using the Web Browser Control & Using the DHTML Document Object Model

    The examples referenced in the articles can be found here:

  9. #9
    Fanatic Member
    Join Date
    Sep 2000
    Posts
    770
    Using the winsock control is not a pain in the ass if you know how to use it. It sure is alot easyer then using the actuall Winsock 2.0 API calls. LOL

    Maybe I sould write a winsock tutorial?

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