Skip to main content

finished porting socketCC to windows!

I have just finished the new and shiny extensions to socketCC. socketCC, the nice class based Socket library.... so now even more shiny!  :)

the original socketCC library was mainly designed for linux. Mac OS support was added to it too, but you could not use it under windows.... awkward choice isnt it? 
i therefore made it compiling and working with windows like i already said here. but now all bugs should be out and it works like charm! 

the cool thing for all pure-windows VC coders out there is: there is a workable VS2008 solution, that can be compiled just like that, without the need for setting anything else up or understanding makefiles. 
AFAIK there is no other nice free open library for windows that does this. 

so heres a rough list of what has changed from the features of the original socketCC, (description for a deeper understanding of the original socketCC lib can be found in this Dr. Dobbs socketCC article):

• support for windows , tested on VS2005 and VS2008 visual studio compilers , (should work on Vista and XP)
• support for obtaining broadcast address / sending broadcasts , support for only sending on certain interfaces
• began changing comments to doxygen documentation style for being able to generate documentation 
• (maybe) made some comments more clear



i did not have the time to make it perfect, because our target platform is linux so the windows implementation is sort of a bonus. this meant that i made some hacks and also omitted IPv6 support (some of our extensions we did to the library broke IPv6 functionality for linux as well anyway) additionally, i needed to use winsock2 and relied on some functionality only present in windowsXP and Vista (and probably win2k3).

because main target for us was linux with also-side-windows support, and easier readability of code desired, support for all other operating systems but windows and linux was omitted. but with this the library will be usable in 98% of all cases anyway, right?

i now sent a mail to the original author, Jason But, of the library and sent him my changes and am awaiting his response now, what his reaction is to this version. 

In case you are interested in this class based socket library for windows, write me a mail or drop a comment. At the moment I do not want to just post it on the net for public download because the author claims that all changes then to be made public have to be made through him. As you see, to just set in online would be against his will. Plus: There would still be much to do on the library, like getting IPv6 support back! Anyone interested, write :)

thassit for now,

happy coding

Comments

murison said…
I am very interested in getting hold of your port of socketCC to windows. Please contact me at http://murison.alpheratz.net/ (click the email at bottom left of page). Thanks!
Anonymous said…
Hmm, I was looking forward will definitely port the SocketCC to windows.
If I was not able to find this, I would have definitely scratched my head to port the SocketCC to windows.
Anyways, Reading your post, I guess some part of the library still needs to be ported(IPv6).
So, please cooperate with me so that we can port the library completely.

And, regarding the License, the author says that you can defiantly distributed as long as the the copyright message from him appears in the package.
So I suggest that there is no harm making it public.
Atleast someone can improve it.
Anyways, the bottom-line is that please mail your ported library onto my email at
siddhant3s@gmail.com

BTW, I too am a guitar player, and apart from programing, I too make music and stuff.
What are your Genres you work upon?
I am in Metal(noticeably MetallicA).
Though, I do a lot of others too.

Waiting for your response...