forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using ps2http

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Thu Jul 22, 2004 1:50 pm    Post subject: Using ps2http Reply with quote

Ok, this sounds really stupid but I've been trying longer that I think I should have to and I can't for the life of me get ps2http to suck down a simple text file off a website. I've tried opening an IP and a hostname in case it was a dns bug.

Can someone please attach some COMPLETE working example code on how to use it? Oobles?
Back to top
View user's profile Send private message
Oobles
Site Admin


Joined: 17 Jan 2004
Posts: 362
Location: Melbourne, Australia

PostPosted: Thu Jul 22, 2004 11:36 pm    Post subject: Reply with quote

I'm haven't got any example sources around.. and I haven't had much time for ps2dev recently, as you've probably noticed from the lack of news updates.

But some quick advice.. The first thing you should have is Ethereal. This will help let you find out if you are getting a HTTP request to where you think.. etc.

I would also suggest that you start with only IP addresses. That way you arn't getting ps2dns involved.

If you are connecting to a web server using HTTP 1.1 make sure that you are setting the host correctly in the headers. This is required for servers which have multiple web domains on a single IP address.

Be careful of servers responding with chunked encoding.. or other strange encodings. Set the HTTP request back to 1.0 if it does.

Hope that helps.
Oobles.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Fri Jul 23, 2004 3:07 am    Post subject: Reply with quote

I will give that a shot, the errors I seemed to be getting suggested that iomanX wasn't picking up te driver or something. I'm not the only one having trouble with this but I'll slave a bit more on it tonight and see what happens.
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Jul 23, 2004 8:22 am    Post subject: Reply with quote

If you aren't already, try resetting the IOP so ps2link isn't running anymore.
PS2IP seems to have problems with running something like ps2http and ps2link at the same time.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Fri Jul 23, 2004 9:14 am    Post subject: Reply with quote

ps2ip fresh from cvs should not have any problems.
_________________
Kung VU
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group