Post: [RELEASE] [C++] [C#] connecting to debugging station by its ip
03-14-2014, 08:11 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); this was not hard to make, its kinda of ghetto atm but i might make it different in the future.
but any ways here it is:
    
c#:
public static void Connect_viaIP(string IP)
{
PS3TMAPI.TCPIPConnectProperties t = new PS3TMAPI.TCPIPConnectProperties();
t.IPAddress = IP;
t.Port = 1000;
PS3TMAPI.SetConnectionInfo(0, t);
PS3TMAPI.InitTargetComms();
PS3TMAPI.Connect(0, null);
}


    
c++:
void Connect_viaIP(const char ip)
{
TMAPI_TCPIP_CONNECT_PROP* wr2 = new TMAPI_TCPIP_CONNECT_PROP;
*wr2->szIPAddress = ip;
wr2->uPort = 1000;
SNPS3SetConnectionInfo(0xfffffffe,wr2);
SNPS3InitTargetComms();
SNPS3Connect(0xfffffffe,NULL);
}


have fun Needa
(adsbygoogle = window.adsbygoogle || []).push({});

The following 13 users say thank you to milky4444 for this useful post:

-SuperMan, Bad Luck Brian, BuC-ShoTz, EliteHackzPS3, ImPiffHD, Mango_Knife, MegaMister, John, Notorious, SC58, TypicalModder, Hash847, xROccOx
03-14-2014, 08:23 PM #2
SC58
Former Staff
Originally posted by milky4444 View Post
this was not hard to make, its kinda of ghetto atm but i might make it different in the future.
but any ways here it is:
    
c#:
public static void Connect_viaIP(string IP)
{
PS3TMAPI.TCPIPConnectProperties t = new PS3TMAPI.TCPIPConnectProperties();
t.IPAddress = IP;
t.Port = 1000;
PS3TMAPI.SetConnectionInfo(0, t);
PS3TMAPI.InitTargetComms();
PS3TMAPI.Connect(0, null);
}


    
c++:
void Connect_viaIP(const char ip)
{
TMAPI_TCPIP_CONNECT_PROP* wr2 = new TMAPI_TCPIP_CONNECT_PROP;
*wr2->szIPAddress = ip;
wr2->uPort = 1000;
SNPS3SetConnectionInfo(0xfffffffe,wr2);
SNPS3InitTargetComms();
SNPS3Connect(0xfffffffe,NULL);
}


have fun Needa


Should have release in ps3 section, But nice work lol
03-14-2014, 09:02 PM #3
Notorious
Caprisuns Is Back
Originally posted by milky4444 View Post
this was not hard to make, its kinda of ghetto atm but i might make it different in the future.
but any ways here it is:
    
c#:
public static void Connect_viaIP(string IP)
{
PS3TMAPI.TCPIPConnectProperties t = new PS3TMAPI.TCPIPConnectProperties();
t.IPAddress = IP;
t.Port = 1000;
PS3TMAPI.SetConnectionInfo(0, t);
PS3TMAPI.InitTargetComms();
PS3TMAPI.Connect(0, null);
}


    
c++:
void Connect_viaIP(const char ip)
{
TMAPI_TCPIP_CONNECT_PROP* wr2 = new TMAPI_TCPIP_CONNECT_PROP;
*wr2->szIPAddress = ip;
wr2->uPort = 1000;
SNPS3SetConnectionInfo(0xfffffffe,wr2);
SNPS3InitTargetComms();
SNPS3Connect(0xfffffffe,NULL);
}


have fun Needa


cool thank you for the c++
03-14-2014, 09:11 PM #4
BuC-ShoTz
TeamMvKâ?¢
you guys should just use the pick target function...
You must login or register to view this content.
    
private void buttonConnect_Click(object sender, EventArgs e)
{
snr = PS3TMAPI.InitTargetComms();
if (snr == PS3TMAPI.SNRESULT.SN_S_OK)
{
snr = PS3TMAPI.PickTarget(Handle, out target);
if (snr == PS3TMAPI.SNRESULT.SN_S_OK)
{
snr = PS3TMAPI.Connect(target, null);
if (snr == PS3TMAPI.SNRESULT.SN_S_OK || snr == PS3TMAPI.SNRESULT.SN_S_NO_ACTION)
{
PS3TMAPI.TCPIPConnectProperties tcpip = new PS3TMAPI.TCPIPConnectProperties();
PS3TMAPI.GetConnectionInfo(target, out tcpip);
ipaddr = tcpip.IPAddress;

uint[] processIDs;
snr = PS3TMAPI.GetProcessList(target, out processIDs);
processID = processIDs[0];
snr = PS3TMAPI.ProcessAttach(target, PS3TMAPI.UnitType.PPU, processID);
if (snr == PS3TMAPI.SNRESULT.SN_S_OK)
{
snr = PS3TMAPI.ProcessContinue(target, processID);
if (snr == PS3TMAPI.SNRESULT.SN_S_OK)
{
Text = Application.ProductName + " | " + ipaddr + " | 0x" +
processID.ToString("X8") + " | " + GetTitleID();
Enable();
}
}
}
}
}
}


i guess you can call this a release...

The following user thanked BuC-ShoTz for this useful post:

milky4444
03-17-2014, 10:37 PM #5
Esker
Samurai Poster
Originally posted by milky4444 View Post
this was not hard to make, its kinda of ghetto atm but i might make it different in the future.
but any ways here it is:
    
c#:
public static void Connect_viaIP(string IP)
{
PS3TMAPI.TCPIPConnectProperties t = new PS3TMAPI.TCPIPConnectProperties();
t.IPAddress = IP;
t.Port = 1000;
PS3TMAPI.SetConnectionInfo(0, t);
PS3TMAPI.InitTargetComms();
PS3TMAPI.Connect(0, null);
}


    
c++:
void Connect_viaIP(const char ip)
{
TMAPI_TCPIP_CONNECT_PROP* wr2 = new TMAPI_TCPIP_CONNECT_PROP;
*wr2->szIPAddress = ip;
wr2->uPort = 1000;
SNPS3SetConnectionInfo(0xfffffffe,wr2);
SNPS3InitTargetComms();
SNPS3Connect(0xfffffffe,NULL);
}


have fun Needa


Thanks milky helps alot!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo