|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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 |
| Sponsored Links |
|
|
|
|||
|
Luigi Auriemma :: View topic - natneg
I'm trying to get this Gamespy NAT negotiation protocol working, to query servers behind a router. I did try using a text editor to find lines, but it didnt compile ![]() |
|
|||
|
Yes, I did ask that. I was wondering if anyone here knew where it would go, I know it has to go in a specific place or it doesnt make sense. Presumably at this line 120?
|
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Basic Calculator | AfTriX | VB Tutorials | 3 | 02-29-2008 09:53 AM |
| Please Help With A C Program!! | siren | C and C++ | 7 | 04-17-2007 09:45 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |