Server that sends/recieves
Hello, I am trying to make a server that listens for incoming data as well as be able to send data when certain conditions are triggered.
I have managed to get only one to work at a time because I used endless loops to check for incoming data, but I cant figure out how to get it to do both simultaneously.
any help is appreciated !! :D thanks !

