How can I run my logger echo server as an application in Windows?

Click For Summary
SUMMARY

The discussion centers on running a logger echo server as a foreground application in Windows. The user experiences issues where the server starts as a background process, preventing error detection during execution. Unlike Linux, where commands like 'bg' and 'fg' manage process visibility, Windows requires a different approach. The user seeks a solution to ensure the server runs visibly in the command prompt for effective debugging.

PREREQUISITES
  • Understanding of Windows command line operations
  • Basic knowledge of server applications and their execution
  • Familiarity with process management in operating systems
  • Experience with debugging techniques for server applications
NEXT STEPS
  • Research how to run applications in the foreground using Windows Command Prompt
  • Explore Windows Service vs. Application execution for server processes
  • Learn about error logging techniques in Windows applications
  • Investigate tools for monitoring server output in real-time on Windows
USEFUL FOR

Developers working on server applications in Windows, system administrators managing application processes, and anyone troubleshooting server execution issues in a Windows environment.

sneez
Messages
312
Reaction score
0
I have written this logger echo server. WHen i execute it it starts as a process in the background. How do i force it to run as application? (in cmd window for example or do i have to have gui?)

im on win machine.

sneez
 
Computer science news on Phys.org
I don't know how windows would do this but in linux/unix you can start an application and send it to the background by using the bg command. You can send to back to the foreground by using the fg command.
 
thanx , that's a next step to install unix/linux a stop using windows. But i have hard time detecting my network card in linux. I would love to stop using windows.

anyway, yeah the problem is i want to run the server in foreground on windows. Even when i execute it from cmd it still goes to process. This way i do not know what the error are ...(during connection and output from the server)

sneez
 

Similar threads

Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
9
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 19 ·
Replies
19
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
13K
Replies
16
Views
4K