Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QUDPSocket in bound state
supratik123 last edited by
I am trying to develop a client socket server using QUDP socket. I am new to this so I was just trying to try out all the scenarios. I am trying to connect to a server which I have binded at port 8000. The thing here is my writedatagram method in the client is returning the number of bytes written even when the server program is not running. Is it some kind of bug or this is the behaviour of UDP socket.
Secondly whenever I am trying to check the state of the client socket when it is writing to the sevrer, it is showing as Bound state. Is it something different from Connected state.
Any help will be very much appreciated
client is returning the number of bytes written even when the server program is not running.
Is it something different from Connected state.
Since UDP communication is stateless I don't see what should be wrong with this.