[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]



You have to setup loopback interface by ifconfig command.
 Something like  /sbin/ifconfig lo

Doing 'route' on my machine also shows  :  *  U  0  0  0 lo                                    

That should do it.

Ramanujan wrote:
> Hi,
> I have a small clarification, when writing socket programs, do we need to
> have the Etherent interface present on the system. That is i am trying to
> simulate the client and the server on the same machine. that is the connect
> call from the client will give the loopback address

Best Regards,