Please Help Me Guys! Guys, I need some help figuring out the general flow of the program.
Iīve made a select() for handling multiple incoming conections, but my "client" part of the servent is missing.
I need some help finding out if my existing code ("server" part) is correct, and which would be the best approach for the "client" part.
Maybe creating a new thread, displaying the "user menu" (before filling out the fd_set) for some time and check if the user want to make a query for example waiting for input for some time, then making the selet() for checking the socketsīs states, if user makes an input, manage that outgoing connection with ANOTHER socket, and checking WRITEABILITY instead of readability? what if I send a ping using my "client" and want my pong on that same socket? y check read or write?
Please help me out cause Iīm running out of time to present this proyect at University.
Thankz in advance,
No_escape: |