sockets - Is it possible to connect to a UDP server via Javascript? -
alright have c++ game server wanna connect via udp , javascript, i'm not sure how that. websockets don't seem work supports tcp , webrtc doesn't seem work either kind undertaking (at least i've read).
i wouldn't mind using technologies in beta-stage , therefore not available on platforms, as long available in chrome (canary).
you won't able use udp directly. that's fundamental property of web sandbox. see can use webrtc open udp connection?
if want talk directly, can data channels, going need bunch of things on , above udp on server side. ice, dtls , sctp needed, see http://tools.ietf.org/html/draft-ietf-rtcweb-transports. standards still in flux there, i'm not sure want dive morass right away.
Comments
Post a Comment