Skip to content

Dronevery/MultiwaySwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiSwitch

code to send and receive UDP packets.

This is the workspace for me to code client.c and server.c. And the final version of code is in /code folder. Makefile is to complie client.c and server.c client.c is to send and receive UDP test packages and decide which port to use. server.c is to receive and send back UDP test packages from client.c

install

cd /path/to/project
mkdir build && cd build
cmake ..
make
sudo make install

config

Please edit:

/etc/multiswitch/server.ini  # server only
/etc/multiswitch/client.ini  # client only

usage

for client

multiswitchclient [client-config-file.ini]

for server

multiswitchserver [server-config-file.ini]

you can assign a config file, or program will use the default one, which located in /etc/multiswitch/{client,server}.ini

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published