Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: UDP Problems  (Read 4343 times)

0 Members and 1 Guest are viewing this topic.

tkurmann

  • Guest
UDP Problems
« on: April 14, 2009, 07:28:46 pm »
-
« Last Edit: December 05, 2019, 08:39:19 pm by tkurmann »

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
UDP Problems
« Reply #1 on: April 15, 2009, 01:28:52 am »
Relevant code would be extremely helpful. :)

drakelord

  • Newbie
  • *
  • Posts: 22
    • View Profile
UDP Problems
« Reply #2 on: May 30, 2009, 08:57:52 am »
Code: [Select]
while(sfSocketUDP_ReceivePacket(ListenerUDP, Packet, &Address) != sfSocketDone);

You are missing starting and ending brackets after that while declaration.  So, what is happening here is that code is probably looping over and over, accepting packets but doing nothing with them, since the while loop isn't associated with anything.

 

anything