I have a process (server.exe) which is accessing port number 1101. i am making another program which should to know what port is using process server.exe.
How will i do it ?
I have a process (server.exe) which is accessing port number 1101. i am making another program which should to know what port is using process server.exe.
How will i do it ?
If the only means of communicating with server.exe is thru the port, then you need to know the port just to communicate, right? So simply hardcode the other program with that port number.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge