LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-07-2014, 05:49 AM   #1
must
LQ Newbie
 
Registered: Jan 2014
Posts: 19

Rep: Reputation: Disabled
I need tcl file for HTTP and FTP protocols


can anyone help me, I want tcl file for HTTP and FTP or any protocol from application layer or presentation or data link layer.
 
Old 05-09-2014, 03:17 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by must View Post
can anyone help me, I want tcl file for HTTP and FTP or any protocol from application layer or presentation or data link layer.
I don't really understand what you want, but this sentence of yours stirs up a lot of counter-questions.

What is a tcl file? When I google for "tcl", I find tons of references to the TCL programming language, and the TCL database language, neither of which seem to match what you want as they have nothing to do with HTTP or FTP.

Are you searching for the HTTP or FTP specification? That would be RFC 2616 and RFC 959, respectively, with a few recent extensions. However, they're both application-level protocols and don't deal with the specifics of the data link layer, as they can use many different transport protocols and physical links (most typically TCP/IP over ethernet).

So please be a bit more specific about what you need.

[X] Doc CPU
 
1 members found this post helpful.
Old 05-09-2014, 03:28 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
.... tcl file for HTTP and FTP or any protocol
from application layer or presentation or data link layer.
I guess the question is ns2 related.
The OP has at least one ns2 thread.
→ → ns2 uses tcl scripts for simulations.
 
1 members found this post helpful.
Old 05-09-2014, 03:39 AM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by knudfl View Post
I guess the question is ns2 related.
The OP has at least one ns2 thread.
→ → ns2 uses tcl scripts for simulations.
thanks, that opens an entire new horizon for me! Apart from the historical connotation, I only knew the abbreviation NS for the old Netscape browser - and I was already wondering why so many people were still mentioning it, especially in pre-historical version 2. ;-)

Now I guess it's actually http://www.isi.edu/nsnam/ns/, is it? (never heard about that before, though)

[X] Doc CPU
 
Old 05-09-2014, 05:20 AM   #5
must
LQ Newbie
 
Registered: Jan 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
[QUOTE=Doc CPU;5167544]Hi there,



thanks, that opens an entire new horizon for me! Apart from the historical connotation, I only knew the abbreviation NS for the old Netscape browser - and I was already wondering why so many people were still mentioning it, especially in pre-historical version 2. ;-)

Now I guess it's actually http://www.isi.edu/nsnam/ns/, is it? (never heard about that before, though)

[X] Doc CPU

thank you so match

---------- Post added 05-09-14 at 05:21 AM ----------

Quote:
Originally Posted by knudfl View Post
I guess the question is ns2 related.
The OP has at least one ns2 thread.
→ → ns2 uses tcl scripts for simulations.
thank you so match
 
Old 05-09-2014, 05:34 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#4, @Doc CPU
Quote:
never heard about that before, though
There are ns2 postings at LQ every day.

Some of the 10,000 ns2 posts http://www.linuxquestions.org/questions/tags/ns2/
``ns2´´ is even amongst the "Most popular Tags".

Yes, ns2 http://nsnam.isi.edu/nsnam/index.php/Main_Page
. http://www.isi.edu/nsnam/ns/doc/index.html


-

Last edited by knudfl; 05-09-2014 at 05:38 AM.
 
Old 05-09-2014, 06:10 AM   #7
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by knudfl View Post
There are ns2 postings at LQ every day.
I know, I've seen them very often, But I kept ignoring them since, because I thought they were about paleontology exhibit "Netscape 2". Couldn't understand why so many people were still interested in it. I wasn't. ;-)

Quote:
Originally Posted by knudfl View Post
Some of the 10,000 ns2 posts http://www.linuxquestions.org/questions/tags/ns2/
``ns2´´ is even amongst the "Most popular Tags".

Yes, ns2 http://nsnam.isi.edu/nsnam/index.php/Main_Page
. http://www.isi.edu/nsnam/ns/doc/index.html
Okay, maybe I'll have a look at it now and then.

[X] Doc CPU
 
Old 05-09-2014, 08:42 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7 .
Quote:
Okay, maybe I'll have a look at it now and then.
Yes, please do. You can probably answer {c++ code} questions ?
 
Old 05-09-2014, 08:52 AM   #9
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by knudfl View Post
You can probably answer {c++ code} questions ?
I'm not fluent in C++, and I'm avoiding it when I can. Too cryptic for my liking.
But I'm quite experienced in plain C, which is my favorite. Why do you ask?

[X] Doc CPU
 
Old 05-09-2014, 10:26 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9
Quote:
Why do you ask ?
Well, the most ns2 questions are answered by me (if I can).
"ns2" is ~400 c++ files.
For c++ issues it would be nice to have someone with coding skills to answer.
 
Old 05-10-2014, 05:13 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #1, @must.

There are examples which are using "FTP".

Please have a look in ns-2.xx/tcl/ex/wpan/.
Example, wpan_demo1.tcl, line 26 :
set val(traffic) ftp ;# cbr/poisson/ftp

Find another ~30 examples ftp with :
$ cd ns-2.xx/tcl/ex/
$ grep -Rin ftp *

HTTP : $ grep -Rin http *

-
 
  


Reply

Tags
ns2


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
.tcl code for LEACH and SPIN protocols- Bad kartiksd Linux - Newbie 27 04-27-2015 03:51 AM
Suggestions for http/ftp file server .... sankeny Linux - Server 5 03-30-2010 08:01 PM
ftp http and other protocols packet transfer trunx Linux - Networking 4 01-23-2005 05:54 AM
ftp http and other protocols packet transfer trunx Linux - Networking 0 01-23-2005 02:55 AM
How does file downloading happen in HTTP and FTP seidren General 4 11-09-2003 08:59 AM

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

All times are GMT -5. The time now is 10:39 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