Are you combining client and server into just one program ? Or are they still two separate programs that are executed on the same machine ?
>>Also how do i set a static ip address in the code because the Winsock Server requires the user to type an ip address first, i would like to make it a default ip.
Just set the variable used for the manual entry to be "127.0.0.1", which is always the local machine.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.