Skip to: Site menu | Main content


Welcome to PSP-Programming.com, a place for developers to get together.

Welcome to the forums. Here you can find other user tutorials as well as homebrew releases and the source code repository. You can also ask for help with your code here and post your own homebrew!

PSP-Programming.com Forums
February 10, 2012, 12:35:26 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: Welcome to PSP-Programming.com
Home Help Search Shop Login Register
Digg This!
Pages: [1]
Print
Author Topic: Adhoc to PC  (Read 3005 times)
AlphaDingDong
Combat Muskrat
All-Around Dev
Hero Member
*

Karma: +32/-3
Offline Offline

Posts: 882
2044.69 points

View Inventory
Send Money to AlphaDingDong
Hey... Are you gonna eat that?


View Profile
« on: July 12, 2008, 04:37:25 PM »

Couldn't find any really relevant topics using the search, so...  Here goes.

I've been trying to get my PSP to talk to my PC via Ad-Hoc, just for s***s-and-grins.  I start up game-sharing or photo-exchange on the PSP and then have my PC card scan for ad-hoc connections and the PC picks up and connects to the PSP.  At that point I'm stuck.  I've never had the opportunity to work with ad-hoc connections before, so I'm kind of at a loss as to how to get a bloody socket open over the thing.  I wrote a quick port sniffer to scan what I think is the PSP's assigned IP address on the PC and it hits on port 21 every time, but nothing ever happens there regardless of whether the PSP is sending or receiving a game/photo.  It just gives me about 30 seconds to spam at it and then it closes the socket.

I didn't catch any other open ports, but I'm really not even sure if it's the PSP that I'm connecting to (there's no response whatsoever on the PSP end).

Let me explain what I'm doing.

I'm setting up my wifi card with a local IP of 10.0.0.2 and a gateway of 10.0.0.1 with netmask 255.255.0.0, then setting it to adhoc only with auto-connect.  Then I switch off winXP handling and turn on the connection software that came with the card since it has a more descriptive scanning interface.  It detects the PSP as soon as the PSP goes into adhoc mode and then it connects (It takes all its settings from the winXP setup.  It just scans differently.).

Once it's connected I've been doing my testing on IP 10.0.0.1, which is assigned as the gateway.  That's where I get the hit on port 21.  (Listening on port 21 gets nothing.)  I've also sniffed 10.0.0.2 during connection and got hits on 135 and 139, but IIRC those are Windows services, which means I'm somehow looping back without using 127.0.0.1.

Has anyone ever played with this crap before?  Even if anyone has used just straight winXP-to-winXP adhoc, any advice would be great.  At this point all I'm really doing is fiddling with it, but it would be neat to have a game that can ad-hoc between PSPs and PCs interchangeably or to write a simple PC app that could host my games for downloading via game-share, etc.

I saw that there's a program called X-Link Kai something or other that can have the PSP connect to the PC via ad-hoc and then the PC connects to a server out in the interwebberworks or something so that people can play ad-hoc games over the internet, so it ought to be possible somehow.
« Last Edit: July 12, 2008, 04:41:08 PM by AlphaDingDong » Logged


icedshot
Newbie
*

Karma: +0/-10
Offline Offline

Posts: 7
270.13 points

View Inventory
Send Money to icedshot

View Profile
« Reply #1 on: September 22, 2008, 11:54:50 AM »

With Xlink Kai, you have to have a wireless adaptor that supports promiscous mode (the capturing of packets not sent expressly to that computer i think), or a certain type of router
Logged
Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.207 seconds with 25 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com