I'm actually running a little page with $REMOTE_ADDR
The problem is that any computer with NT4 or W9x on it have its own IP well recorded in the $REMOTE_ADDR global.
But all W2k computer instead return 127.0.0.1 as remote adress....
Can someone save me??
I have a C++ server that keep data on users using the chat applet (username + ip + room).
Two client can speak to each other just by sending message to the target IP (other connected, recipient of the message)
The problem is that ip resolution is just impossible throught Proxy and Firewall...
I've to class:
class A
{
public:
void start();
void stop();
void calling_function();
}
class B
{
public:
void foo(void (*start)(), void (*stop)());
}
This may seem stupid, but those are C program part transformed in classes.
My question is:
Before, only class B exist, and this work...
I have quite a problem:
I use a log class called TLog, whith a constructor:
TLog(bool p_view, char* p_insert, char* p_folder, char* p_file_name);
P_view: On screen True, else writen in file
p_insert: char* to be inserted on the beginning on each line.
p_folder: folder where to write the log...
If I try to use the ofstream.h library, I get the following error at the compilation:
<<
d:\oracle\ora81\oci\include\oratypes.h(278) : error C2378: 'text' : redefinition; symbol cannot be overloaded with a typedef
c:\program files\microsoft visual studio\vc98\include\fstream.h(161) : see...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.