Skip to content

jerett/multicast-ip-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Intrudution

  • muticast-ip-service provides service that client can obtain server's ip by multicasting .
  • different server can set different key to distinguish

#usage

##server

  • Server run a dameon process which multicast ip every 2 seconds
  • usage: multicast_ip_serverd interface key(option)

##client

  • Client attemp to get server ip via multicasting , and you can set a timeout.
  • a few lines of code.
 MulticastIpClient ip_client;
  ip_client.Open();
  std::string ip;
  ip_client.SetTimeout(5000);
  ip_client.QueryServerIp("key", &ip);

#plaform: unix like system

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published