nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: test nitserial itself
[nit.git]
/
lib
/
mpd.nit
diff --git
a/lib/mpd.nit
b/lib/mpd.nit
index
cf9b677
..
9a56b95
100644
(file)
--- a/
lib/mpd.nit
+++ b/
lib/mpd.nit
@@
-34,8
+34,7
@@
class MPDConnection
do
var p: nullable Socket = null
- p = new Socket.stream_with_host(host, port)
- p.connect
+ p = new Socket.client(host, port)
sys.nanosleep(0,5000)