LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-23-2010, 02:30 AM   #1
nicomedia41
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Rep: Reputation: 0
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
 
Old 07-23-2010, 09:47 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,616

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by nicomedia41 View Post
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
 
Old 07-26-2010, 12:39 AM   #3
nicomedia41
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 07-26-2010, 01:23 AM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
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.
 
Old 07-26-2010, 09:36 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,616

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by nicomedia41 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I code a simple Transport Layer Protocol? duwei Linux - Kernel 4 03-15-2010 10:30 PM
Protocol on ethernet layer brunoczo Linux - Networking 1 11-05-2009 11:42 PM
Kmail; unrecognized transport protocol when sending. tidiman07 Linux - Software 2 02-08-2008 12:39 PM
LXer: FTP Server setup with TLS (Transport Layer Security) on Debian LXer Syndicated Linux News 0 02-04-2008 07:00 AM
System V Transport Layer Interface-should I learn it? beginner16 Programming 1 01-21-2004 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration