MikroKopter.de
Wiki
SHOP
Datenschutz
Impressum
Projects
BL-Ctrl
FlightCtrl
MK3Mag
NaviCtrl
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
Projects
(root)
/
DUBwise
/
tags
/
pre_0.50
/
server_side
/
tcp2serial
/
tcp2serial.rb
- Rev 4
Rev
Go to most recent revision
|
Blame
|
Compare with Previous
|
Last modification
|
View Log
|
RSS feed
require
'socket'
port=
2323
server=TCPServer.
new
(
'192.168.1.42'
,port
)
while
(
session=server.
accept
)
puts
"accept session: "
+
session.
inspect
session.
print
"OK"
while
(
input=session.
gets
)
p
input
end
end