6 Reputation Points
Ranked #3K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
~858 People Reached
Favorite Forums
Favorite Tags
Hi, I am writing a simple program modeling client/server interaction. I want the server to be capable of handling multiple connections. To implement this, I have been using _beginthreadex, passing references to sockets to the child thread. For example: [code]while(1) { SOCKET sClient = accept(ListenSocket, NULL, NULL); ... child = … |
|
Re:
Hi I have never used vedctors before so I am just wondering if this is correct or not. If not, would you mind showing me the correct way to use it? [CODE]cout << fixed << setprecision( 2 ); vector < Employee * > employees( 4 ); employees[ 0 ] = … |