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

Re:



I havent brushed up on sockets in a while but check the /etc/inetd.conf file
to say whether the daytime server is up. To answer your question,No, you do
not need an interface All (??) tests can be siimulated on the
loopbackaddress.

Regards
Shourya


----- Original Message -----
From: Ramanujan <rtandalam@xxxxxxxxxxx>
To: linux <linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 23, 2000 10:25 AM
Subject: [LIP]


> 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
>