Skip to main content

Any success on ServerSocket for PS/3?

7 replies [Last post]
chihiro_saito
Offline
Joined: 2006-11-08
Points: 0

Hi All -

Wondering, has anyone succeeded in getting a plain java.net.ServerSocket up on the PS/3?

I can create it fine, but it doesn't seem to be accepting, or responding to, the incoming request when I open from another machine a socket to the IP address obtained from PS/3's System settings -> System info section. Also, InetAddress.getLocalHost() on PS/3 just returns the loopback address. Firmware v2.35. Outgoing connection has been working...

Thanks,
Chihiro

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jason30
Offline
Joined: 2008-05-24
Points: 0

Hi,

Would any of you be able to post the PRF file that works? I am having trouble with:
InetAddress addr = InetAddress.getLocalHost(); on the PS3. It just hangs. I set the network connection on in the PS3.

Thank you in advance!

Jason

jason30
Offline
Joined: 2008-05-24
Points: 0

Hi Chihiro,

Were you able to get it so the PS3 didn't return the loopback address when you call InetAddress.getLocalHost(); ?

Jason

chihiro_saito
Offline
Joined: 2006-11-08
Points: 0

Hi Jason,

I haven't found a way to get the real IP in Java for PS/3 yet, unfortunately. Our friends at MX confirmed that the same behavior is observed through InetAddress...

As for the PRF example, you can browse the source from the hdcookbook repository.

hdcookbook/trunk/tools/bridgehead/src/BridgeheadXlet/bridgehead/bluray.BridgeheadXlet.perm

Best,
Chihiro

dbreitenfeld
Offline
Joined: 2007-03-18
Points: 0

Hi Jason and Chihiro,

It is possible to obtain the IP address on the commercial player. In our BD Touch API we do it and it works great. People with iPhones do not have to type in IP Address or machine names. We currently have a rather long waiting list for the API, however it looks like next week we should be able to send out the SDK to the remaining waiting list. If you are interested in this sign up at http://www.netblender.com The API doesn't show you how we do it but it shows that its do able and gives you a disc image that works with all PS3's, the complete documentation along with a fully functional test application to interact with the disc image from any machine on your network.

Cheers,

Denny B.
-------------------------------------------------------------------------------------------------------------
[i]NetBlender DoStudio Blu-ray Team - DSA - http://dostudio.netblender.com [/i]

jason30
Offline
Joined: 2008-05-24
Points: 0

Hi Denny,

Just signed up for the Connect SDK! Looking forward to giving it a try.

Jason

chihiro_saito
Offline
Joined: 2006-11-08
Points: 0

Looks like I was simply missing "accept" SocketPermission from the PRF. A silly oversight partly due to the fact that it worked on the PC players and there was no SecurityException from the code to the log during the run.

Thanks to Joe and Eddie for the hints.

Chihiro

dbreitenfeld
Offline
Joined: 2007-03-18
Points: 0

Hi Chihiro,

Glad you were able to get it to work. We've had tremendous amount of success with the networking API with the PS3 especially with our BD Touch API.

Cheers,

Denny B.
-------------------------------------------------------------------------------------------------------------
[i]NetBlender DoStudio Blu-ray Team - DSA - http://dostudio.netblender.com [/i]