That's the error I get when i try to run the client giving 127.0.0.1 1054-9999 (any port in this range). I read what meaning is in MSDN, but it dowsn't help me much. The Winsock function which throws this error is ::connect.
Any ideas? Help will be appriciated...
Yes this is a great Job. Saves a lot of time !
In Java is very easy (due to sintax) to write such functions but in windows MS c++ world it was simply too ugly and complicated to do it (CSocket isn't good for real server applications).
There will be two major errors when try to compile the Project. You can eliminate these errors as follows:
1 remarks these two lines in the file afxstd.h, because VC++6 has already define those.
//typedef signed long INT32 ;
//typedef unsigned long UINT32;
2 copy UAFXCW.lib(Unicode release version needed), UAFXCWD.lib(Unicode debug version needed) and UAFXCWD.pdb(debug information) from /VC98/MFC/Lib to the project directory.
3 We go. Ho.Ho.Ho.....
I dont know if you still check yer comments on this page, but..............
I compiled the client, it seems to be functioning okay although I havent made a connection yet to test it.
The serversocket is my problem right now, its compiling great, no errors, but warnings:
LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
LINK : warning LNK4089: all references to "comdlg32.dll" discarded by /OPT:REF
I Dont know if this is the problem, but when I goto run it run it it crashes with an error. This could be due to the fact that I have no idea where in the code I am to insert my
Ip address and port #.
The error is as follows:
First-chance exception in SocketServer.exe: 0xC0000005: Access Violation.