Git Product home page Git Product logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Hi,

I am having a hard time understanding you. 

If the client connects and the server status screen shows a connected client 
but no data is being received by the client, it is most likely a firewall 
problem on the client PC machine. The client PC machine must be able to receive 
UDP packets transmitted from the server.

John

Original comment by [email protected] on 3 Jun 2011 at 9:52

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
We can recive UDP packets and i get a UDP port number assighned to my PC, but i 
will look in to it more. 

I went thorugh with the debuger and I never got to 
protected void ReceiveCallback(IAsyncResult ar) in PSMoveClient.cs untill I 
press the dessconect button. The thred that is running the GUI stays in 
updateState() while in there it gets to:
/**at these lines it gets the state that has not been updated because it will 
not leave this thread so the state.packet_index is still 0 and the 
processed_packet_index is still 0 as well so it always returns and starts 
over.*/
PSMoveSharpState state = Program.moveClient.GetLatestState();
PSMoveSharpCameraFrameState camera_frame_state = 
Program.moveClient.GetLatestCameraFrameState();
if (processed_packet_index == state.packet_index)
{
    return;
}

With this I also noticed the delegate does not get created or used and insted 
it uses the ReciveCallback in PSMoveClient.cs 

The method PSMoveClientThreadedReadThreadStart() in PSMoveClient.cs gets called 
once at creation and stays in in this thread:
                while (_reading)
                {
                    if (_readerThreadExit == 1)
                    {
                        break;
                    }
                    Thread.Sleep(0);
                }
because _reading never gets changed.

I hope this clearifys out porblem thank you for the response.

Original comment by [email protected] on 4 Jun 2011 at 3:35

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Can you confirm that the client has connected by telling me what is listed in 
the connected clients list on the right hand side of the screen.

Original comment by [email protected] on 4 Jun 2011 at 4:55

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Yes it says my ipaddress 192.168.1.2 and the UDP port around 54854 that changes 
as far as i can see. I do not get the UDP port exception that you have set up 
and i can see the UDP port number on the client side after the hand shake. I am 
getting exceptions that are not printed out to the consols about handeling 
strings but i do not see them causing this problem. It's hard to see the 
problem from my end because i can not see what the server is sending I will try 
and step in to more things through the hand shake and after. thank you for your 
responses.

Original comment by [email protected] on 5 Jun 2011 at 3:06

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Hi,

As soon as the server receives a connection and a UDP port from a client it 
begins sending data to that ip/port over UDP. Put a break point in the UDP data 
receive callback. If that is never hit than you have a firewall issue. 

Windows has a firewall enabled (by default- I think) your router could also 
have a firewall.

Original comment by [email protected] on 5 Jun 2011 at 3:16

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
John your right it was ALL the firewalls, I had to put the PS3 in the DMZ and 
had to open all inbound UDP connections in windows. you can close this tiket 
thank you for all your help

Original comment by [email protected] on 6 Jun 2011 at 5:19

from moveme.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024

Original comment by [email protected] on 6 Jun 2011 at 5:28

  • Changed state: Invalid

from moveme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.