Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualKnolanCross

Posted 25 June 2013 - 04:26 PM

Are you timing the sends (for instance, 1 per second) or sending packets in an infinite loop? If you are not timing you will surelly send way more packages than your network can handle and you will drop a load of them. Program dieing is likely some problem with your buffers.


#2KnolanCross

Posted 25 June 2013 - 04:21 PM

You don't need to call bind on the client, you start a DGRAM socket, an sockaddr_in struct and call connect.

 

Are you timing the sends (for instance, 1 per second) or sending packets in an infinite loop? If you are not timing you will surelly send way more packages than your network can handle and you will drop a load of them. Program dieing is likely some problem with your buffers.


#1KnolanCross

Posted 25 June 2013 - 04:17 PM

You don't need to call bind on the client, you start a DGRAM socket, an sockaddr_in struct and call connect.


PARTNERS