Forum: IDE HDD Discussion - Discussion about the use of the IDE HDD Interface and hdloader related discussion.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Clear things up with TCP and UDP
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
  1. #1 Clear things up with TCP and UDP 
    HeHehetoday is offline Registered User
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Have been using HDL dump for a while but still like to make sure.
    Think I've read about TCP and UDP issues concerning servers in the
    "Help getting started" thread I think at another place here.
    If I would like to play with hdldump and servers how do I avoid UDP since it seem to be an unsafe method of transfer? How would I know if I'm using UDP or TCP? If anyone know do you have servers at sksapps that uses UDP or is it only TCP. Is lordbogamis 2.1 package at sksapps safe?
    Reply With Quote  

  2. #2  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote Originally Posted by HeHehetoday View Post
    Have been using HDL dump for a while but still like to make sure.
    Think I've read about TCP and UDP issues concerning servers in the
    "Help getting started" thread I think at another place here.
    Regardless of where you saw it, the issues are real.

    If I would like to play with hdldump and servers how do I avoid UDP since it seem to be an unsafe method of transfer?
    UDP is a single-package protocol, never intended or designed for streaming large files (which require multiple packages due to the package size limit).

    TCP is a data stream protocol designed for all-purpose data transfer including unlimited file size support.

    Since UDP ignores all normal mechanisms for data stream control it may achieve higher speed than TCP, but the lack of such controls can lead to errors impossible with TCP.

    For example: Any packet order issue due to retries of packets when later ones are already received are impossible in TCP, since stream recovery is built-in into the protocol itself. But with UDP no standard method for such recovery is available, and the methods invented by the homebrew developers of the UDP hdld_svr variant are not as secure as the official TCP protocol developed for generic Internet use.

    How would I know if I'm using UDP or TCP? If anyone know do you have servers at sksapps that uses UDP or is it only TCP.
    If your hdld_svr or hdl_dump version begins with "0.9" then it uses UDP, while the older versions ("0.8.?" or lower) all use TCP.

    Is lordbogamis 2.1 package at sksapps safe?
    Lord Bogami's program is a GUI frontend that relies on the commandline utility hdl_dump for the real work. It can use either the new or the old hdl_dump versions, and which you use will determine the TCP/UDP protocol. I'm not sure exactly what that package contains, but the GUI is definitely usable with the TCP protocol versions of hdl_dump and hdld_svr.

    I recommend using hdl_dump.exe v0.8.6 and hdld_svr.elf v0.8.5.
    The difference in those numbers is because no change of the server elf was made for v0.8.6, so it was not included in that release package.

    Best regards: dlanor
    Reply With Quote  

  3. #3  
    HeHehetoday is offline Registered User
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Good info thanks dlanor.
    Just want to make sure I know what I'm using and working with...
    To try to make things clearer. This it what it says about the server in the changelog of lordbogamis 2.1 package.

    l
    Aternative hdld_svr.elf README
    ===============================

    What's all this about?
    ----------------------

    Alternative hdl_dump networking server uses lwip's RAW API, instead of
    sequential one (AKA BSD-sockets). The benefit is 40% better network
    throughput - 1,15MB/sec compared to the old one of 0,8MB/sec
    (measured when client is running on the Linux box); the drawback
    is somewhat more complex server, because lwip RAW API requires
    a state machine operation. Also, stock ps2ip.irx doesn't export lwip
    RAW API, therefore server is integrated into the ps2ip.irx itself.

    Another drawback is lack of decompression code, which means, that
    client SHOULD NOT use compression (turn it off in the config file).
    I have little knowledge about what the deal is here. It's somekind of special server it seems. So the questions here is, is this as safe server?

    I'm really picky beacause I'm not going to sacrifice quality for speed.

    This all leads me to another question. Since I do like lordbogamis GUI and I use his package. Can I easaly just replace the current HDL dump with maybe 0.8.6 and of course the server to match that version? Or does it have to be a dos version of HDL dump to work with lordbogamis?
    Reply With Quote  

  4. #4  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote Originally Posted by HeHehetoday View Post
    Good info thanks dlanor.
    Just want to make sure I know what I'm using and working with...
    Of course. If you are going to install stuff to your PS2HDD with this software you obviously want it to be reliable. At least that is my own reasoning, though I know that others prioritize speed above all else (which is a speedy way to corrupt a drive)

    To try to make things clearer. This it what it says about the server in the changelog of lordbogamis 2.1 package.
    Just ignore that part. It is not really relevant to your choice of GUI.

    I have little knowledge about what the deal is here. It's somekind of special server it seems. So the questions here is, is this as safe server?
    I don't even know which server that doc is talking about, but it is probably not any of the servers that I've used with that GUI anyway, so it's not really relevant.

    I'm really picky beacause I'm not going to sacrifice quality for speed.
    Good. I agree fully with that.

    This all leads me to another question. Since I do like lordbogamis GUI and I use his package. Can I easaly just replace the current HDL dump with maybe 0.8.6 and of course the server to match that version?
    Yes, you can do that and there should be no problems with it.
    That is exactly how I use it myself.

    Or does it have to be a dos version of HDL dump to work with lordbogamis?
    It always has to be a dos version of HDL dump in any case, regardless of what version number we're talking about. The main HDL dump file "hdl_dump.exe" is a commandline program (or as most people say, a 'dos' program (really a misnomer)). That is true for all versions ever made.

    To make LordBogami's HDLD_Gui.exe call the correct HDL dump program you simply store it in the same folder as HDLD_Gui.exe, using the name "hdl_dump.exe". And then you need to use an hdld_svr elf file on the PS2 that matches the same HDL dump version. I have used v2.1 of LordBogami's Gui this way with a variety of HDL Dump versions, ranging from v0.8.2 through v0.8.6 (the latter with server v0.8.5).

    Best regards: dlanor
    Reply With Quote  

  5. #5  
    HeHehetoday is offline Registered User
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Excellent info dlanor thanks
    I will follow what you said and do some changes.
    Just wanted to know why are some apps called dump and others dumb (if I'm not mixing stuff up)?

    It's like this I have already transfered like 3 of my games using lordbogamis GUI 2.1. I just recently stubmled upon the fact that there is UDP method of transfering. Seriously I can't see why anyone would use it even though the time can be halfed. If the iso get screwed up then what has been the help here? I wouldn't have bothered you anymore but I'm so OCD and paranoid about it. I pulled the lordbogamis file from sksapps http://sksapps.com/hd/hdl_dump_gui-2.1.zip
    Not sure if it's ok to direct to another place like that so If I have done anything wrong just let me know. Anyway I would really appreciate if you could check it and give a definite answer if it's a safe server. If it's of any help my average transfer rate is about 1.12Mps. Think UDP has much higher but still want to make absoulutely sure.
    Reply With Quote  

  6. #6  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote Originally Posted by HeHehetoday View Post
    Excellent info dlanor thanks
    I will follow what you said and do some changes.
    Just wanted to know why are some apps called dump and others dumb (if I'm not mixing stuff up)?
    HDL_Dumb is the original GUI for HDL_Dump. It's that simple...
    So you are using LordBogami's GUI as a replacement for HDL_Dumb, to invoke the same commandline HDL_Dump that HDL_Dumb can also use in a similar manner (but with entirely different GUI methods). You can try both alternately, as this has no adverse effect on the games installed.

    It's like this I have already transfered like 3 of my games using lordbogamis GUI 2.1. I just recently stubmled upon the fact that there is UDP method of transfering. Seriously I can't see why anyone would use it even though the time can be halfed. If the iso get screwed up then what has been the help here?
    No help at all, but some people are willing to risk it anyway, just like some might be willing to run across a street crossing without first checking for approaching cars. Hospital wards are full of such people...

    I wouldn't have bothered you anymore but I'm so OCD and paranoid about it. I pulled the lordbogamis file from sksapps http://sksapps.com/hd/hdl_dump_gui-2.1.zip
    Not sure if it's ok to direct to another place like that so If I have done anything wrong just let me know.
    SKSApps is considered a 'friendly' site here, and many of our members are also registered there, including myself. Most packages found there should be safe for use, though you still need to check your settings to make sure everything is appropriate for your setup and preferred usage.

    Anyway I would really appreciate if you could check it and give a definite answer if it's a safe server. If it's of any help my average transfer rate is about 1.12Mps.
    I'm quite certain, even without checking, that they would not distribute the GUI with a UDP server as default.

    Think UDP has much higher but still want to make absoulutely sure.
    People have reported well over 2 Mbps with the UDP version, but that still doesn't budge my condemnation of it. When it comes to file transfers, Unsafe == Unworthy of use.

    Best regards: dlanor
    Reply With Quote  

  7. #7  
    HeHehetoday is offline Registered User
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Hehehehe well yes you are so right about everything.
    Everything is very clear to me I feel much better now.
    I just got last questions to put a lid on this issue.
    Where would I have to go ta actually get the UDP versions?
    Just want to know how to stay away from it.
    It's really good to know sksapps plays it safe.
    The other question is. I think I've read somewhere that hdl dump 0.8.5 is faster in transfer than 0.8.6. Is this true and in that case why. Is there some benefits in the 0.8.6 that is better even though the 0.8.5 might be faster?
    Reply With Quote  

  8. #8  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote Originally Posted by HeHehetoday View Post
    Hehehehe well yes you are so right about everything.
    Everything is very clear to me I feel much better now.
    I just got last questions to put a lid on this issue.
    Where would I have to go ta actually get the UDP versions?
    I imagine you could find links to it or attachments for it on most major PS2 sites, but the best way to find it is probably to google for hdl_dump or hdld_svr, and then scan the results for different variants.

    Just want to know how to stay away from it.
    That is easiest done by just never downloading ANY version which doesn't have a clear indication of which version it is.

    It's really good to know sksapps plays it safe.
    Even so, they also aim at completion, so I would expect that they have several versions of hdl_dump and hdld_svr available, including the UDP versions. But these should be clearly labeled with version numbers so you can avoid what you don't want. (I haven't really checked their file collections lately though.)

    The other question is. I think I've read somewhere that hdl dump 0.8.5 is faster in transfer than 0.8.6. Is this true and in that case why. Is there some benefits in the 0.8.6 that is better even though the 0.8.5 might be faster?
    Where did you see that ?

    Since there is no new server for hdl_dump v0.8.6 the server end is unchanged for these two versions, and personally I prefer using the latest client version (latest with TCP that is). But unfortunately the v0.8.6 release package I have does not contain any changelog, so I can't verify exactly what was changed in it. So it is a judgement call of your own, which version you want to use.

    Best regards: dlanor
    Reply With Quote  

  9. #9  
    Badcrew is offline Banned
    Join Date
    Dec 2008
    Posts
    122
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I have wondered for a long time if the "FastLordBoGami" linked to here http://www.console-exploits.com/foru...ead.php?t=9708 would be considered safe. I seem to average about 2.1Mbps with it and haven't experienced any issues that I know of. What's your opinion on this version dlanor?
    Reply With Quote  

  10. #10  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote Originally Posted by Reloader View Post
    I have wondered for a long time if the "FastLordBoGami" linked to here http://www.console-exploits.com/foru...ead.php?t=9708 would be considered safe. I seem to average about 2.1Mbps with it and haven't experienced any issues that I know of. What's your opinion on this version dlanor?
    In order to comment properly on that I'll have to quote part of the release post you linked to:

    Quote Originally Posted by release post at console-exploits
    Lord Bogami's HDL Dump GUI, standard

    Lord Bogami's HDL Dump GUI 2.1, alternative (aka FastLordBogami's)
    i:
    This version comes directly with the proper hdl dumb file, so -in combination with the HDL server 0.8.4 and above- you can reach up to 2.10 mpbs transfer speed when using the network function
    Of those links the one to the supposedly 'fast' version was a dead link, so I am unable to inspect the contents of that RAR file and verify which server version it uses.

    Without having seen the binary there is nothing meaningful for me to say about it.

    Best regards: dlanor
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •