Error : Adderss is already in use.
hi, i am new in the LINUX platform,i am trying to communicate between the server and a client.First time the program executed and i got the output but from second time an error message is coming that Address is already in use.
if((rc = setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on))) < 0);
this function is returning -1,
if the port is in use, then how to resue the port.
i am totally in dark please help me.
Last edited by Hims; 02-03-2009 at 12:20 AM.
|