I am writing a winsock class and for now I the class user to give me a certain CALLBACK function and then I call that function (by name) from my class with specific parameters. It's just like WndProc function you write yourself and then you pass the address of WndProc to WNDCLASSEX which is then called by windows containing a certain message.
How would I implement that in my own application?