LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Help for my own transport layer protocol (https://www.linuxquestions.org/questions/linux-networking-3/help-for-my-own-transport-layer-protocol-821636/)

nicomedia41 07-23-2010 02:30 AM

Help for my own transport layer protocol
 
Hi everyone. Firstly i am new in this forum and i examine the other question and i should say that you are really helpful.
About my problem. I want to write a new protocol on transport layer. These are the features that new protocol should include:
-Real time
-Concurrent transfer
-Multipath and Multihoming

the reason why i should write this protocol is in order to transport encoded video stream over 3G link.

When i investigated TCP UDP or SCTP source codes, i couldnot understand them at all. What ı want is to help me about steps of the protocol writing or guideline about it. How should i start, is there any book or source about it (i couldnot find over my internet research). Even samples are fine for me.

Best Regards

TB0ne 07-23-2010 09:47 PM

Quote:

Originally Posted by nicomedia41 (Post 4042712)
Hi everyone. Firstly i am new in this forum and i examine the other question and i should say that you are really helpful.

How did you reach the conclusion that we are really helpful, when this is your first post, and none of us have helped you yet?
Quote:

About my problem. I want to write a new protocol on transport layer. These are the features that new protocol should include:
-Real time
-Concurrent transfer
-Multipath and Multihoming

the reason why i should write this protocol is in order to transport encoded video stream over 3G link.
Not a problem, but a project of yours.
Quote:

When i investigated TCP UDP or SCTP source codes, i couldnot understand them at all. What ı want is to help me about steps of the protocol writing or guideline about it. How should i start, is there any book or source about it (i couldnot find over my internet research). Even samples are fine for me.
No offense intended, but if you have the source code for TCP, UDP and SCTP modules, and can't understand them, how are you going to be able to write a new module?

There are books available about Linux socket programming, like this one:
http://www.amazon.com/Linux-Socket-P...9939547&sr=8-1

A brief Google search turns up plenty:
http://www.linuxhowtos.org/C_C++/socket.htm

nicomedia41 07-26-2010 12:39 AM

Quote:

How did you reach the conclusion that we are really helpful, when this is your first post, and none of us have helped you yet?
Someone with the logic can understand whether the forum is helpful or not by looking at other replies to the problems. Before i wrote my thread, i read many questions about my project. But after your reply, i should reconsider it.

Quote:

Not a problem, but a project of yours.
It is a introduction or changing subject from my ideas about forum to the my real subject. I am not responsible about your misunderstanding. Your aim does not help people, you just want to razz on me. Instead of giving a guideline, you are just time wasting person.

Quote:

No offense intended, but if you have the source code for TCP, UDP and SCTP modules, and can't understand them, how are you going to be able to write a new module?
Yes you are offensive but just jaw. the protocol i try to write wont be complex. I just want some starting points or guidelines. I am not asking about like write code instead of me. I just want to give an obstacle to the sugestions that say investigate on UDP TCP SCTP source codes. Its my business that understand them or not. Please you dont reply my post anymore because you are sinister person.

jiml8 07-26-2010 01:23 AM

You need to study raw sockets. When you have that down, you will know how to transmit any data you want to transmit, according to rules that you define.

TB0ne 07-26-2010 09:36 AM

Quote:

Originally Posted by nicomedia41 (Post 4045350)
Someone with the logic can understand whether the forum is helpful or not by looking at other replies to the problems. Before i wrote my thread, i read many questions about my project. But after your reply, i should reconsider it.

If you say so.
Quote:

It is a introduction or changing subject from my ideas about forum to the my real subject. I am not responsible about your misunderstanding. Your aim does not help people, you just want to razz on me. Instead of giving a guideline, you are just time wasting person.
Not a misunderstanding at all. You said it was a problem. It ISN'T a problem, but a project you're working on. Perhaps you don't have a clear grasp of the language.
Quote:

Yes you are offensive but just jaw. the protocol i try to write wont be complex. I just want some starting points or guidelines. I am not asking about like write code instead of me. I just want to give an obstacle to the sugestions that say investigate on UDP TCP SCTP source codes. Its my business that understand them or not. Please you dont reply my post anymore because you are sinister person.
Whatever...glad that I gave you links to books and online articles, about what you're trying to do. Good luck....based on what you've written, you'll need it.


All times are GMT -5. The time now is 08:36 AM.