Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6587847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:58:15+00:00 2026-05-25T16:58:15+00:00

How to write(implement) a network protocols such as ftp, bittorrent, adc, gnutella etc? What

  • 0

How to write(implement) a network protocols such as ftp, bittorrent, adc, gnutella etc?
What were used language? where donwloads sources? I was reads to used boost.asio, boost.spirit, beep, type length value, what better choose?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:58:16+00:00Added an answer on May 25, 2026 at 4:58 pm

    Are you talking about implementing an existing protocol, or creating a new one? I will assume the former.

    The first thing you need is the specification. Standard internet protocols are specified by RFCs. For example, FTP is specified by RFC 959. The other protocols you mention are not standards, but they may still have specifications; for example, BitTorrent has one, although it isn’t very good (there’s an attempt to clarify it).

    The second thing you need is a language with an API for doing socket IO. Every serious language has one. In Java, for example, it’s in the java.net package. You can use any language, as long as it has such an API.

    Then you just need to sit down and follow the specification, and write code which can send and receive messages in the format defined in the specification.

    Alternatively, you could look for an existing implementation of the protocol, and use that. There is no centralised place to find implementations of protocols; your language’s standard library will contain some (for example, Java has FTP, HTTP, SMTP, IIOP, and maybe some others built in), and you may be able to download others as third-party packages.

    You mention a few libraries. Boost.asio is a library for socket IO in C++. It’s a layer on top of the basic operating system API that aims to make it easier. Boost.spirit is a parser library; you could use it to parse a protocol, although that would only be a good move for the more complex protocols. BEEP is a protocol, or rather a framework for building protocols; it would only help you with a protocol implemented on top of BEEP, which most protocols are not. Tag-length-value is a style of data encoding, which some protocols use, but not all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Django to write a blog app, and I'm trying to implement a
The .NET IDisposable Pattern implies that if you write a finalizer, and implement IDisposable,
I'm designing a protocol (in C) to implement the layered OSI network structure, using
I am trying to write in BASH my own tracking such as shown in
I want to implement another debugger (language) for .NET (it's just for academic reason
I'm trying to write a script that will grab logs across a network and
For our assignment we need to write code for a neural network. The way
Is it legal to write instant message software that implements MSN Messener, Yahoo! Messener,
I'm trying to write a re-usable .NET Assembly that implements WCF. My current problem
I'm trying to re-implement an old Reversi board game I wrote with a bit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.