Sockets with kotlin -


i looking develop application in kotlin uses sockets,

unfortunately kotlinx sockets broken , not far connect current kotlin 1.1 co-routines. (i see noted unanswered issue on github @sundwarf on july 16 already)

specifically, sample code kotlinx.sockets uses connect in form:

asocket().tcp().connect(inetsocketaddress(inetaddress.getbyname("google.com"), 80)) 

which fails noted trace here.

i looking either sample of connect work, or recommendation of alternate package kotlix.sockets.

there many kotlin apps making use of sockets, either there alternatives kotlinx.sockets or there way around connect problem.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -