[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
RE: Implementation of Data Link Layer protocols
I think RAW sockets should provide data Link layer level interface. Look
into the man for socket or search for RAW sockets on web. there is a good
tutorial out there.
HTH
Nitin
-----Original Message-----
From: Amit Goel [mailto:nonu@xxxxxxxxxxxxxxx]
Sent: Monday, October 09, 2000 11:37 PM
To: linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [LIP] Implementation of Data Link Layer protocols
> Data Link Layer protocols.
> AFAICT, for communication between two machines, sockets cannot be used in
> this case as use of TCP or UDP sockets would mean the use of a Transport
or
> Network Layer service respectively which is not allowed as only services
Of course using sockets means u r using transport layer services and
programming application layer.
if u implement sockets that means u r using ip layer and programming
transport layer.
If u want to write at data link layer .. consider implementing ppp.c or
slip.c
amit
---------------------------------------------
LIP is all for free speech. But it was created
for a purpose. Violations of the rules of
this list will result in stern action.