Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello.
I am going to write a simple chat programm with WinSock.
It should work peer-to-peer so each program is server and client.

I need to run a method ever in a new thread.
How can I realize this?

Is it possible to return something from that method?

Thanks.

P.S.: I'm from Germany, so don't wonder if there are some spelling or grammatical mistakes.

EDIT:

Found help on this site: Multithreding tutorial
Posted
Updated 15-Mar-13 1:49am
v3

1 solution

Posting it to pop it out of unanswered list.

OP resolved it by himself with help from this: Multithreading Tutorial[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900