Delphi Programming question
Posted on 1997-09-02
I can't setup my socket to listen at my IP addres.
I don't know if this is Windows Configuration error or i made error in code.
What i'm doing :
I have single PC with NetworkCard. TCPIP and NetBUI, but Dialup adapter too with different TCPIP settings.
I need write and test InternetWWW server.
I create socket and place to Listen mode, i have message procedure for WM_ASYNCSELECTand I call WSAASyncSelect(..)
but when i run IE3.0 it can't connect to my IP or name.
When I setup socket with :
sin.sin_family := AF_INET;
sin.sin_addr.s_addr := INADDR_ANY;
i can connect only to 127.0.0.1
How can i setup socket to listen on My IP?