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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - _sro5h

Pages: [1]
1
Network / Are the send and receive methods of sf::UdpSocket threadsafe?
« on: November 23, 2015, 05:56:41 pm »
I cant find any Information on whether I can make simultaneously calls to both sf::UdpSocket::send and sf::UdpSocket::receive on the same Socket.
In my scenario I want to have a Background thread that qeues all incoming packets and while this is happening I also would like to send out packets from this same Socket. Do I need a Mutex for that?

Best regards,
Paul

Pages: [1]