Advertisement

DirectPlay Tutorial Problem

Started by March 30, 2004 07:58 PM
2 comments, last by Agemaniac 20 years, 10 months ago
I''m using the tutorial in msdn to build the network in my game. When i finish the part that just create a Host and close it and run it in debug mode i got the following things: (im using Visual C++ 6.0, and this appear in the Output Debug.) CSocketPort::CheckForOverridingMapping: Private address already in use according to NAT Help object 0! DumpSocketAddress: IPv4 socket: Address: xxx.xxx.xx.xxx(my internet IP) Port: 2509 DumpSocketAddress: IPv4 socket: Address: 192.168.0.1 (my local IP) Port: 2509 etc etc etc etc.... so, when i close the program i got: HEAP[stagedpeer.exe]: HEAP: Free Heap block 3623ad8 modified at 3623be8 after it was freed The problem happen with all the code from the tutorials too. Is it normal???
Hum..i figure out that the error occuors when i call Host(...)

Any idea?
Advertisement
You''re overwriting memory somewhere. Check your pointers and specifically your arrays. You get this error from doing something like:
int* foo = new int[4];
for(int i=0; i<10; ++i) foo = i;
Hi..humm..i dont thint so.. because when i run my program in another computer everything goes fine...and the tutorial SDK example give me the same error. I thing its something like ports or internet configuration...but its just an opinion...really dont know ..

This topic is closed to new replies.

Advertisement