• Create Account

### #Actualslicer4ever

Posted 02 January 2013 - 12:09 AM

so, i'm working on a game for PSM, and am just experimenting at the moment with trying to create an http connection to an apache server on my local network.

            HttpWebRequest Req = HttpWebRequest.Create("http://192.168.3.1/") as HttpWebRequest;
Req.Timeout = Timeout.Infinite;
try{
HttpWebResponse Res = Req.GetResponse() as HttpWebResponse;
Console.WriteLine("Response Status: "+Res.StatusDescription);
}catch(Exception E){
Console.WriteLine("Exception: "+E);
}
Req.Abort();

however, i get a timeout exception immediately.

so after some googling, i grabed wireshark, and monitored my one and only wireless network adapter, i can see all traffic completely fine, even the http response to the 192.168.3.1 web server from my computer.  but i don't ever see a packet getting sent when i start my program, i've tried some of the other unconnected adapters, but they don't generate anything either.

so, in short, is their something i'm missing for why this c# program isn't trying to create a network connection?

edit: arg, of course i find a solution moments after posting, anway in case anyone comes across this post in the future: http://community.eu.playstation.com/t5/General/Network-connectivity-issues-from-the-emulator/m-p/15096379/highlight/true#M246

### #3slicer4ever

Posted 02 January 2013 - 12:02 AM

so, i'm working on a game for PSM, and am just experimenting at the moment with trying to create an http connection to an apache server on my local network.

            HttpWebRequest Req = HttpWebRequest.Create("http://192.168.3.1/") as HttpWebRequest;
Req.Timeout = Timeout.Infinite;
try{
HttpWebResponse Res = Req.GetResponse() as HttpWebResponse;
Console.WriteLine("Response Status: "+Res.StatusDescription);
}catch(Exception E){
Console.WriteLine("Exception: "+E);
}
Req.Abort();

however, i get a timeout exception immediately.

so after some googling, i grabed wireshark, and monitored my one and only wireless network adapter, i can see all traffic completely fine, even the http response to the 192.168.3.1 web server from my computer.  but i don't ever see a packet getting sent when i start my program, i've tried some of the other unconnected adapters, but they don't generate anything either.

so, in short, is their something i'm missing for why this c# program isn't trying to create a network connection?

### #2slicer4ever

Posted 02 January 2013 - 12:02 AM

so, i'm working on a game for PSM, and am just experimenting at the moment with trying to create a http connection to an apache server on my local network.

            HttpWebRequest Req = HttpWebRequest.Create("http://192.168.3.1/") as HttpWebRequest;
Req.Timeout = Timeout.Infinite;
try{
HttpWebResponse Res = Req.GetResponse() as HttpWebResponse;
Console.WriteLine("Response Status: "+Res.StatusDescription);
}catch(Exception E){
Console.WriteLine("Exception: "+E);
}
Req.Abort();

however, i get a timeout exception immediately.

so after some googling, i grabed wireshark, and monitored my one and only wireless network adapter, i can see all traffic completely fine, even the http response to the 192.168.3.1 web server from my computer.  but i don't ever see a packet getting sent when i start my program, i've tried some of the other unconnected adapters, but they don't generate anything either.

so, in short, is their something i'm missing for why this c# program isn't trying to create a network connection?

### #1slicer4ever

Posted 02 January 2013 - 12:01 AM

so, i'm working with PSM, and am just experimenting at the moment with trying to create a http connection to an apache server on my local network.

            HttpWebRequest Req = HttpWebRequest.Create("<a href="http://192.168.3.1/">http://192.168.3.1/</a>") as HttpWebRequest;
Req.Timeout = Timeout.Infinite;
try{
HttpWebResponse Res = Req.GetResponse() as HttpWebResponse;
Console.WriteLine("Response Status: "+Res.StatusDescription);
}catch(Exception E){
Console.WriteLine("Exception: "+E);
}
Req.Abort();

however, i get a timeout exception immediately.

so after some googling, i grabed wireshark, and monitored my one and only wireless network adapter, i can see all traffic completely fine, even the http response to the 192.168.3.1 web server from my computer.  but i don't ever see a packet getting sent when i start my program, i've tried some of the other unconnected adapters, but they don't generate anything either.

so, in short, is their something i'm missing for why this c# program isn't trying to create a network connection?

PARTNERS