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.
I told Santa what I wanted for Christmas and he washed my mouth out with soap.