Skip to content
/ gnp Public

This is a simple network protocol to send messages between different devices. built on top of UDP and named `Glovo` because it does not guaranty delivery of the messages like Glovo with your orders.

Notifications You must be signed in to change notification settings

soub4i/gnp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNP Golovo Network Protocol

This is a simple network protocol to send messages between different devices. built on top of UDP and named Glovoo because it does not guaranty delivery of the messages like Glovoo with your orders.

it's uses Google's protobuf to serialize and deserialize the messages. because why not.

Usage

gnp help

        gnp - Glovoo network protocol
        Usage: gnp [options] <command> .
        commands:
                - server: start the server
                - client [ip] -d "Yo my name is mo" : send a message to the server
                - help: show help
        options:
                - -p: port to listen on
                - -ip: server address
                - -d: data to send

Server

gnp-linux-amd64 server -p=8080

Client

gnp-linux-amd64 client -p=8080 -d="Yo my name is mo"

compile

make compile

About

This is a simple network protocol to send messages between different devices. built on top of UDP and named `Glovo` because it does not guaranty delivery of the messages like Glovo with your orders.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published