DaftHacker
Jet fuel can't melt steel beams
So im trying to set up an XBDM socket but im unable to send data, i have the socket connected with this code which works fine.
But i am unable to send a command using this code
Also how would i go about poking things such as a string, int, or any other types of data ? Also any other information on communicating with xbdm would be great.
Any help would be great, im using socket connections to learn how to communicate with xbdm and im make my own class for poking.
Code:
TcpClient SocketConnection = new TcpClient();
StreamReader SocketReader;
public bool Connect(string IP)
{
try
{
SocketConnection.Connect(new IPEndPoint(IPAddress.Parse(IP), 730));
SocketReader = new StreamReader(SocketConnection.GetStream());
if (SocketReader.ReadLine() == "201- connected")
{
return true;
}
else
{
return false;
}
}
catch { return false; }
}
But i am unable to send a command using this code
Code:
StreamWriter SocketWriter;
public void SendCommand(string Command)
{
SocketWriter = new StreamWriter(SocketConnection.GetStream());
SocketWriter.Write(Command);
}
Any help would be great, im using socket connections to learn how to communicate with xbdm and im make my own class for poking.
Last edited: