Skip to content

nanomq/nftp-codec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nftp-codec

Workflows

It's a lightweight NFTP(Nano FTP) ver1.1 protocol parser.

NFTP ver2.0 was released at Here !!! Submit your issues to make NFTP better.

Features

  • Support P to P / N to 1 / 1 to N

  • Lightweight and no runtime

  • Support asynchronous send / recv

  • Support discontinued transmission

  • NFTP Version 1.1 standard doc is at Here

How to use

Here are some demo to use nftp-codec.

NFTP over TCP nftp-go

NFTP over MQTT nftp-mqtt

[...] More demos are in developing.

How it works

Process

(sync)
sender  --HELLO-->  recver
sender  <---ACK---  recver

(async allowed)
sender  ---FILE-->  recver
sender  ---FILE-->  recver
sender  ---FILE-->  recver
sender  ---END--->  recver

Something you should know

Property iter vector iovs codec file hash proto
Thread-safe X O O O X O X

TODO List

  • More easy to use
  • Support NFTP ver2.0
  • And so on...

About

A lightweight parser for nftp (Nano FTP)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published