pygame-web / pygbag

python and pygame wasm for everyone ( packager + test server + simulator )
https://github.com/pygame-web
MIT License
324 stars 36 forks source link

sample: socket client use #6

Open pmp-p opened 2 years ago

pmp-p commented 2 years ago

minimal example would be connecting to a webirc lobby

gabriel-v commented 1 year ago

Any update on this one? Saw a patch for sock_connect so I bet we need to use this - but got some strange errors.

pmp-p commented 1 year ago

yeah i patched asyncio for socket use, but only to work with IoT / telemetrix-web for irc no need to use asyncio, polling socket is ok since it's only done once per frame but sample is very crude and i won't have time for that until pycon fr is finished since i only present the IoT stuff. anyway the minimal irc sample is here