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

Re:



Hi,

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

Doing 'route' on my machine also shows  :
 127.0.0.0  *  255.0.0.0  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 127.0.0.1.
> 
> 
 ------------------------------------------------------------------

Best Regards,
N.Upendra