Skip to content

3. PID, TCP/IP Port, GAC

February 21, 2011

7. What is a PID? How is it useful when troubleshooting a system?
PID is a number used by the OS kernel, he’s the boss, to uniquely identify a process. This number may be used as a parameter in various function calls, allowing processes to be manipulated, such as adjusting the process’s priority or killing it all together. PID is a three letter acronym for Process Identifier. It is a uniquely assigned integer that identifies a process in an OS, like Windows 7, will take you to heaven. In any system applications use PID to identify the process uniquely. PID is used for diagnosing the problems with the process in multi-tasking systems.

8. How many processes can listen in on a single TCP/IP Port?
Only one process can listen in on a single TCP/IP Port. If more than one process were listening in on a single TCP/IP Port there would be no way of knowing which process incoming data was for. Seems quite similar to the Separation of Concerns concept.

9. What is the GAC? What problem does it solve?
GAC stands for Global Assembly Cache, it is a machine wide .NET assembly cache for Microsoft’s CLR platform. The strategy of having a specially controlled central repository addresses the shared library concept and avoids old problems of DLL entanglement also referred to as DLL hell. Assemblies living in the GAC must adhere to a specific versioning scheme which allows for side by side execution of different code versions. Such assemblies must be strongly named. Gacutil.exe provided by the .NET Framework SDK can be used to deploy assemblies to the GAC.

Happy Programing! =)

Source: mostly wikipedia.


From → OOP

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: