File: ping.mpi

package info (click to toggle)
madoka 4.1.15-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 792 kB
  • ctags: 43
  • sloc: perl: 1,140; makefile: 42
file content (11 lines) | stat: -rw-r--r-- 198 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# madoka 4.0 sv_ping
#
# server/ping.mpi
#    Copyright(c)1998- cookie / The madoka project
#

sub sv_ping {
  local($from, $pr) = @_;
  &send('ccn', "PING :$pr\n");
  &send('sv', "PONG :$pr\n");
}