EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   SocketLib (https://www.eqemulator.org/forums/showthread.php?t=20277)

javaman 04-05-2006 07:24 AM

SocketLib
 
I am building eqemu with VC 2005 Express free version.

OK, I have read the other threads on this issue and am curious on what the best way to solve it is:

(A) Create a separate vs subproject to build the lib

(B) just add the include for this and add the cpp files to world's common source files (ie just build it straight in)

fathernitwit 04-05-2006 01:20 PM

just add the CPP... that should be how it is in CVS.

javaman 04-06-2006 03:19 AM

thanks, getting it slowly. one other little thing. visual studio express asserts on the close(socket) in EQStreamFactory::Close(), but when I use ifdef WIN32 closesocket(socket) , everything works fine. I guess MS wants to change things??? I dont know if WSACleanup or any of that other MS stuff is needed too.

fathernitwit 04-06-2006 12:55 PM

good catch, windows dosent like the whoe "sockets are just file descriptors" idea, never has.


All times are GMT -4. The time now is 08:29 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.