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
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