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

Re:



We should have an active interface to use socket calls -- I suppose.

At 10:25 AM 5/23/00 +0530, 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.
>
>I have used AF_INET, SOCK_STREAM. I tried to connect to the day time server
>waiting on port 13.
>
>When i listed with netstat it was not showing any active TCP connections, so
>i presumed that it needs to have an interface. Is it right?
>
>
>Best Wishes
>Ramanujan
>
>
>
>
>-----------------------------------------------------------------------
>The LIP mailing list archives are available at:
>http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rajesh Bhattacharya
Software Engineer
Rendezvous On Chip (I) Pvt. Ltd.

SECURING THE INTERNET...................
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~