473,395 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Windows Service and multithreading

Hello Friiends

I am looking for ways to create a multithreaded Windows service in c#
which is actually a IM Bot application. Since multiple user can access
at same time, I want to create seprate thread when user open a chat
Window[for instance for MSN IM]. I coudn't find any such helpful tip to
acomplish the task. Kindly guide me.
Thanks

Sep 30 '06 #1
2 2625
Yes one most iMportant question, Is threading necessary to involve in a
Chat system like a IM Bot?

Thanks
Adynan wrote:
Hello Friiends

I am looking for ways to create a multithreaded Windows service in c#
which is actually a IM Bot application. Since multiple user can access
at same time, I want to create seprate thread when user open a chat
Window[for instance for MSN IM]. I coudn't find any such helpful tip to
acomplish the task. Kindly guide me.
Thanks
Sep 30 '06 #2

Adynan wrote:
Yes one most iMportant question, Is threading necessary to involve in a
Chat system like a IM Bot?

Thanks
Adynan wrote:
Hello Friiends

I am looking for ways to create a multithreaded Windows service in c#
which is actually a IM Bot application. Since multiple user can access
at same time, I want to create seprate thread when user open a chat
Window[for instance for MSN IM]. I coudn't find any such helpful tip to
acomplish the task. Kindly guide me.
Thanks
I've not got any experience of IM Bots, but threading is something I've
had to do a lot of. Be warned that threading can be tricky (especially
in terms of sunchronisation and when you need to close threads down).

It's rare that threading is absolutely neccessary, there can often be
other alternatives.

If you do decide to go down the threading route it might be worth while
doing some small sample code, maybe working through the examples on Jon
Skeet's introduction to threading article
(http://www.yoda.arachsys.com/csharp/threads/).

Best,

Nick
http://seecharp.blogspot.com/

Sep 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Brian Keating EI9FXB | last post by:
I wonder can anyone reccomment a solution to this problem. Let me explain, I've services running on my system, my application receives diagnostic messages from these services, what i want to do...
11
by: DW | last post by:
I've gotten this question a couple of times in interviews and I don't know what they are looking for: How do you update a control's property, such as a textbox.text property, from a thread, in...
1
by: Altruist | last post by:
Hi, I have an application which uses multithreading. I am trying to create a Windows Service out of it but am not able to. Has anybody faces a similar problem? Thanks Jnanesh.
3
by: Peter B Rasmussen | last post by:
Please Help i am going mad :) I am converting an application to a service using vb.net. My problem is that i can't import the system.windows.forms. What can i call instead? In the code...
3
by: Sonya Erb | last post by:
Hi to all! I have a bit of a problem. I am new to multithreading, but it is necessary for me to use it in a service that i am developing. I am receiving numerous messages through a UDP port and...
6
by: MeowCow | last post by:
I will try and make my question with out being too long winded. I have been doing a lot of reading on how to do multithreading and I have implemented the code from the following example on...
1
by: methodios | last post by:
Is there a way to create a windows service that can communicate with an ASP.NET page running IIS via HTTP protocol as the communicate medium? The service will act as a listener on whatever port and...
2
by: pitachu | last post by:
Is there a way for a Windows Service to talk to an ASP.NET page (via HTTP to localhost perhaps)? I'm looking to utilize the cache and multithreading available in ASP.NET, but I'm not nessarily...
0
by: Dmitry Bogdanov | last post by:
I have a problem - if I access the session in Web Service, as soon as I store anything in it, requests are no longer running in parallel - instead, they are queued and executed sequentially. Here...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.