compile your program with the -g flag, ie: gcc -g -o myprogram sourcecode.c
Then run it in gdb:
gdb ./client
gdb ./server (in another terminal)
When gdb starts, type 'r' for (run) and hit...
Type: Posts; User: nonpuz
compile your program with the -g flag, ie: gcc -g -o myprogram sourcecode.c
Then run it in gdb:
gdb ./client
gdb ./server (in another terminal)
When gdb starts, type 'r' for (run) and hit...