mirror of
https://github.com/zeroflag/fcl.git
synced 2025-01-11 20:01:10 +01:00
Update README.md
This commit is contained in:
parent
fa8d6b4d4a
commit
afbfd65b1c
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
@ -520,6 +520,25 @@ A shorter way to do the same is to use `+json-type` on the map.
|
||||||
then ;
|
then ;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## UDP
|
||||||
|
|
||||||
|
```forth
|
||||||
|
udp-send-byte ( host port byte -- n )
|
||||||
|
udp-send-str ( host port byte -- n )
|
||||||
|
udp-send-lst ( host port lst -- n )
|
||||||
|
```
|
||||||
|
|
||||||
|
### Examples
|
||||||
|
|
||||||
|
````forth
|
||||||
|
'192.168.0.10' 8070 'A' udp-send-str \ send letter 'A' via UDP to 192.168.0.10:8070
|
||||||
|
|
||||||
|
'192.168.0.10' 8070 65 udp-send-byte \ same as above but the payload is a single byte
|
||||||
|
|
||||||
|
'192.168.0.10' 8070 [ 65 ] udp-send-lst \ same as above the payload is a list
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Misc
|
## Misc
|
||||||
|
|
||||||
### Tone generator
|
### Tone generator
|
||||||
|
|
Loading…
Reference in a new issue