mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 10:38:05 +11:00
Fixed some docs, made the bridge use less CPU time
This commit is contained in:
parent
25e0f08c87
commit
318b9c6857
@ -49,11 +49,7 @@ This will create a virtual linked card component connected to server\_address:se
|
|||||||
#### Minitel configuration
|
#### Minitel configuration
|
||||||
|
|
||||||
1. Disable minitel with rc - `rc minitel disable`
|
1. Disable minitel with rc - `rc minitel disable`
|
||||||
1. Enable vtunnel with rc - `rc vtunnel enable`
|
2. Enable vtunnel with rc - `rc vtunnel enable`
|
||||||
2. Add the following to your ~/.shrc:
|
3. Enable minitel with rc - `rc minitel enable`
|
||||||
|
|
||||||
```
|
This will ensure that Minitel starts later than vTunnel, allowing it to see the virtual tunnel component.
|
||||||
rc minitel start > /dev/null
|
|
||||||
```
|
|
||||||
|
|
||||||
This will ensure that Minitel sees the virtual tunnel component created by vTunnel and routes packets via it.
|
|
||||||
|
@ -42,7 +42,7 @@ hasValidPacket("")
|
|||||||
|
|
||||||
function socketLoop()
|
function socketLoop()
|
||||||
local server = socket.bind("*", port)
|
local server = socket.bind("*", port)
|
||||||
server:settimeout(0)
|
server:settimeout(0.01)
|
||||||
print("vTunnel bridge server listening on port "..tostring(port))
|
print("vTunnel bridge server listening on port "..tostring(port))
|
||||||
while true do
|
while true do
|
||||||
local client,err = server:accept()
|
local client,err = server:accept()
|
||||||
|
Loading…
Reference in New Issue
Block a user