View Single Post
  #1 (permalink)  
Old 06-20-2008, 03:28 PM
J_I_M_B_O J_I_M_B_O is offline
Newbie
 
Join Date: Jun 2008
Posts: 3
Credits: 0
Rep Power: 0
J_I_M_B_O is on a distinguished road
Default Adding addtional code to "line 120"

Hi ya

I need to add this to "line 120" of the attached code:

if(gsnatneg(sd, "terminator3", NULL, peer.sin_addr.s_addr, ntohs(peer.sin_port)) < 0) {
printf("- natneg failed\n");
exit(1);
}


I've tried but im not sure exactly where line 120 is. Presumably this refers to the actual code and not the extra information at the top, but not sure if it includes empty lines etc, i really dont know how to count it. I have attached the code, and would be very grateful if someone could show me where to put it.

Thanks
Attached Files
File Type: c gsnatneg.c (14.9 KB, 13 views)
Reply With Quote

Sponsored Links