This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need an idea  RSS feed

 
ani khan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
can anyone give me idea abt what sort of assignment should ibe doin based on threads,it need not be difficult as ive got only few days to complete it !
 
Ryan Langley
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
One of the first threaded programs I wrote was a simple chat client. In a basic form, you need one thread to listen for text coming from the server and updating the chat screen and another thread to get user text entered and sending it to the server. The server could be a separate program or a separate thread that echo's any text that it receives to all the clients connected to it. Don't forget to have fun!
------------------
Cheers,
RL
[This message has been edited by Ryan Langley (edited June 14, 2001).]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!