Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

can i program osi layers??

Status
Not open for further replies.

syeda amna

Full Member level 4
Full Member level 4
Joined
Jun 1, 2010
Messages
222
Helped
24
Reputation
48
Reaction score
22
Trophy points
1,308
Location
Pakistan
Activity points
2,551
hi
i want to ask how can program osi layers?
what is the purpose of programming these layers?
what languauage will be used?
thanks
 

What Operating System(s) are you planning to run on?
 

hi
i want to ask how can program osi layers?
Under Linux or cygwin I have tried. You must know Which header and/or Library functions are needed.
what is the purpose of programming these layers?
To get more control over the packet/data transmitted.
what languauage will be used?
thanks
I used C and C++. But you may use other too. But for this kind of programming C is best suited.

By the Way will you please tell us what exactly in your mind? What you want to achieve? etc... so that it will be easy to help you.
 
you can use only the libraries provided by the vendor. as an application programmer you can use application layer... the other layers will be used and will be defined by the protocol internally.. yo
 
To get more control over the packet/data transmitted.

I used C and C++. But you may use other too. But for this kind of programming C is best suited.

By the Way will you please tell us what exactly in your mind? What you want to achieve? etc... so that it will be easy to help you.

thanks for your reply.
I want to control the packet transmission. if weaker signals then packet size become smaller.
is it possible to do like this? can i use JAVA to do this??
 

thanks for your reply.
I want to control the packet transmission. if weaker signals then packet size become smaller.
is it possible to do like this? can i use JAVA to do this??

Are you talking about Wireless???
Yes it is possible. Even if it is Wired network It is also possible.
Because those features are already in the driver code of IEEE 802.11b/g.

Don't ask me about Java, As i am a complete Idiot in that language:oops:
 
can you tell me device drivers program in which layer??
 
Last edited:

can you tell me device drivers lie in which layer??

I might be wrong here, but the device driver for the physical hardware is for the psical layer only.
On top of that your TCP/IP stack will come which is also a present as a driver or part of the kernel.

Still it is not clear what exactly you want to do.

1) Do you want to implement a fall back mechanism?
2) Do you want to parse and analyze the incoming and outgoing packets?
 
If you write an program for sending and receiving data from TCP ip then you write program for application layer, and the rest data integrity is taken care by protocol...

you do not write program for the 7 layers.. it is implemented in the protocol you use to transfer data
 
If you write an program for sending and receiving data from TCP ip then you write program for application layer, and the rest data integrity is taken care by protocol...

you do not write program for the 7 layers.. it is implemented in the protocol you use to transfer data

thanks for your reply. i want to control packets transmission. for this purpose which programming language is easy to use and implement.
please give me refrences and tutorials about this topic.
 

C or java supports this... you can do it which ever you are comfortable
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top