Threads

12/01/2012 14:12 szymek111#1
Hi!
1.Can somebody help me with threads? What I mean specifically is to create a thread, and that information is send to the player

2.And who accepts the socket connection and sends information from client to server player position on the map
12/01/2012 14:32 Nightblizard#2
Quote:
Originally Posted by szymek111 View Post
What I mean specifically is to create a thread
This depends. Can you use C++11?

Quote:
Originally Posted by szymek111 View Post
, and that information is send to the player
Why should the player know that you've created a thread? I guess you mean something else.

Quote:
Originally Posted by szymek111 View Post
2.And who accepts the socket connection and sends information from client to server player position on the map
First of all this has nothing to do with threads. A socket connection gets accepted by another socket and then you can send stuff between them. But as I've said this isn't really related specifically to threads, much rather to networking in general.
12/01/2012 15:05 szymek111#3
Ok thanks but i have my login server for my private server but my friend 20 times connect to server and server crash and it's don't login.And i must to restart the server

How i fix this?

Sry for my english


Yes i'm using vs c++ 2010 express
12/01/2012 19:09 Tyrar#4
[Only registered and activated users can see links. Click Here To Register...]