![]() |
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: |
All times are GMT -7. The time now is 11:56 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.