Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-07-2014, 05:49 AM
|
#1
|
LQ Newbie
Registered: Jan 2014
Posts: 19
Rep: 
|
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.
|
|
|
05-09-2014, 03:17 AM
|
#2
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by must
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.
|
05-09-2014, 03:28 AM
|
#3
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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.
|
05-09-2014, 03:39 AM
|
#4
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by knudfl
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
|
|
|
05-09-2014, 05:20 AM
|
#5
|
LQ Newbie
Registered: Jan 2014
Posts: 19
Original Poster
Rep: 
|
[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
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
|
|
|
05-09-2014, 06:10 AM
|
#7
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by knudfl
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
|
Okay, maybe I'll have a look at it now and then.
[X] Doc CPU
|
|
|
05-09-2014, 08:42 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 7 .
Quote:
Okay, maybe I'll have a look at it now and then.
|
Yes, please do. You can probably answer {c++ code} questions ?
|
|
|
05-09-2014, 08:52 AM
|
#9
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by knudfl
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
|
|
|
05-09-2014, 10:26 AM
|
#10
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 9
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.
|
|
|
05-10-2014, 05:13 AM
|
#11
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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 *
-
|
|
|
All times are GMT -5. The time now is 10:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|