Solved

Listener on WIndows Server 7

Posted on 2011-02-17
3
336 Views
Last Modified: 2012-05-11
I need to write a daemon that needs to run in the background on a Windows 7 Server and listen to remote client requests. On the other end will be Windows 7 desktop (Professional, may be...). Is creating a Windows Service (aka NT Service) the best way to implement this? What other options are available? Having the daemon as a web service - should that be considered? If not why? This daemon basically needs to listen to remote clients, receive encrypted login messages, by connecting to a database authenticate users and send back approval/denial message. Not sure if this matters but I will be using Borland Builder (C++) to build this  tool. Can add more details if needed.
0
Comment
Question by:Mydeen Yussouf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
AriMc earned 250 total points
ID: 34929190
Personally I'd choose a dedicated Windows service for that task. If you have a web-server installed already and/or if you feel you can get the programming done more easily as a web-server script for example, then that could be better option.

Naturally you could also write it as a normal desktop application too but then it wouldn't necessarily be always available as the users can logout and exit desktop programs easily.

0
 
LVL 1

Assisted Solution

by:Mydeen Yussouf
Mydeen Yussouf earned 0 total points
ID: 34929313
From what I learn, a web service is not necessary as it is required mainly for interoprrability which is not a requirement in my case. I am only using Windows 7 on both sides (client and server) and the usage of the service is limited to connection by applications not by humans. Secondly, using web services instead of windows services has a negative impact on performance as web services use XML serialization. So Windows service becomes an automatic choice for me and of course I am not even considering an application for reasons stated above.

Having said that, I would like if @AriMc or someone else could add more to this as I am learning.
0
 
LVL 1

Author Closing Comment

by:Mydeen Yussouf
ID: 34990702
Comment  by self includes useful and valuable information neither found in experts exchange already nor in the expert answer.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need to retrieve "This computer only” folders in  Outlook 2013? 3 80
Internet Explorer 11.0 fails to open 34 86
Lost FireFox Bookmarks 6 40
User Account issue 6 38
OfficeMate Freezes on login or does not load after login credentials are input.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question