This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Suggestion

Old posts that have not been replied to for several years.
Locked
B
BrollY
Voice
Posts: 36
Joined: Wed Apr 23, 2003 9:28 pm
Location: H07 L471N4 L4ND (Puerto Rico)

Suggestion

Post by BrollY »

currently, one of my TCLs uses sockets to get files from a site. ive seen how u can use that http::geturl (or something) to do the same, i think. pretty much i would just like to know if one method is better than the other, or wat r the advantages of the http one. thanks.
Yo momma's so fat she can be in the past, present, n future all at once
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

They are both the same.

The http package uses sockets, but provides a simple to use scripting interface.

While the socket approach is the same, it can be tailored to your needs, and usualy involves a lot more work.

It all depends on your needs, file sizes and a few other bits, as to which one is best, however, it would be wise to start out with the package, and learn how it functions.
B
BrollY
Voice
Posts: 36
Joined: Wed Apr 23, 2003 9:28 pm
Location: H07 L471N4 L4ND (Puerto Rico)

Post by BrollY »

i use the socket approach, but since i had seen quite a few topics with the http thing, i kinda wondered if there was any difference at all as i did notice that it indeed did seem simpler, though kinda lacked a few things.
Yo momma's so fat she can be in the past, present, n future all at once
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

What items does it lack?
Locked