capacitor-udp-multicast
Main objective is to use UDP Multicast to send messages to a group
Install
npm install capacitor-udp-multicast
npx cap sync
API
startMulticastService(...)
startMulticastService(options: { message: string; }) => Promise<{ status: string; }>
Param | Type |
---|---|
options |
{ message: string; } |
Returns: Promise<{ status: string; }>
startMulticastReceiver()
startMulticastReceiver() => Promise<{ status: string; }>
Returns: Promise<{ status: string; }>