Hi Hikaan,
I am an embedded software engineer and mainly work on VxWorks. I am also member of the customer support team for VxWorks in my country I then well know VxWorks
I came across your question when surfing on this forum and will then give you a quick answer.
The target server and target agent are a kind of client-server model used with VxWorks developing tools (Tornado for VxWorks 5.X, Workbench for VxWorks 6.X).
When developing an application on your desktop computer (generally called the
host) you can connect to your embedded system (generally called the
target) with a Target Server connection. This connection is generally established through Ethernet but can also go over a serial link.
The target server is the server side of the connection and runs on the host (which runs Windows or Linux). The target agent is the client side of the connection and runs on the target which runs VxWorks.
When you connect to an embedded system through a target server connection, you can then download code directly into the target memory or attach the debugger to your target to debug the software running on it.
If you don't have a target agent (
WDB agent to say the correct name) running on your target system, you won't be able to establish a Target server connection with it.
I hope this helps and that I have been clear enough.
P.S. If you have VxWorks, you also certainly have the documentation going with it. To have more details look at the chapters dedicated to
WDB you will then have a complete and detailed explanation on the WDB (Target Server) architecture.