Hi, I,m playing around a bit with multisync, and I am having some trouble with sending a message from the client to the host. From the host to the client works fine, but from client back to host isn't working.
Here is my client code:
dbText((dbScreenWidth() / 2) - 200, dbScreenHeight() / 2, "Received test packet! Sending packet back to host...Waiting for responce");
dbSync();
dbSleep(3000);
NetPutByte(test);
NetSend(0);
and here is the server code:
while(NetGetMessage() == 0)
{
}
What happens when I run the program is the host gets stuck in the loop because it doesn't receive anything (that's what I think).
Thanks in advance
.