Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualFrostraver

Posted 12 August 2013 - 10:01 AM

Hi guys. Thanks for the quick replies.

 

@RadioTeeth: Why should I do the destination_address differently?

 

@hplus0603: Yes, handle is a valid socket and it's bound to the right ports and everything.

sendto() returns 4

recvfrom() returns -1 in the current state but I'll be changing things now so I'll keep you updated what they return if you want.

 

EDIT: So I changed some things like Radioteeth suggested but that doesn't seem to change anything. I have this code to test out if my program receives it's own messages:

pNetworkObject->ReceivePacket();
pNetworkObject->SendPacket("hello");

pNetworkObject->SendPacket("second hello");
pNetworkObject->ReceivePacket();

#1Frostraver

Posted 12 August 2013 - 09:32 AM

Hi guys. Thanks for the quick replies.

 

@RadioTeeth: Why should I do the destination_address differently?

 

@hplus0603: Yes, handle is a valid socket and it's bound to the right ports and everything.

sendto() returns 4

recvfrom() returns -1 in the current state but I'll be changing things now so I'll keep you updated what they return if you want.


PARTNERS