!RxaQWWMYJTsVdHEKmL:matrix.org

smoltcp

166 Members
smoltcp discussion and help - https://github.com/smoltcp-rs/smoltcp13 Servers

Load older messages


SenderMessageTime
16 Feb 2024
@talizkahn:matrix.orgtalizkahnok cool. I think my problem is that the receive() wont block, but returns tokens no matter what. The consume wont block, but there may not be anything to do20:13:50
@talizkahn:matrix.orgtalizkahnI'll refactor a bit and see how I go20:14:01
@talizkahn:matrix.orgtalizkahnthanks for your help20:14:07
@talizkahn:matrix.orgtalizkahnits looking a lot healthier now :)20:28:39
@talizkahn:matrix.orgtalizkahn I see that tcp::Socket is Sync and Send, is it a common/done pattern to send ESTABLISHED sockets to another thread to process and add a new LISTENING socket to the SockerSet? 22:24:37
@dirbaio:matrix.orgdirbaioyou can't send it because it must be inside the SocketSet to get processed22:25:38
@dirbaio:matrix.orgdirbaioyou can share the SocketSet behind a mutex22:26:02
@dirbaio:matrix.orgdirbaiobut it's probably not worth it, it won't increase perf much22:26:54
@talizkahn:matrix.orgtalizkahn Just looking for a pattern to handle multiple connections 22:27:32
@dirbaio:matrix.orgdirbaioa big main loop polling everything22:27:49
@dirbaio:matrix.orgdirbaio if that's too annoying, there's async wrappers, for example embassy-net. where you can spawn one task per connection 22:28:25
@dirbaio:matrix.orgdirbaio * if that's too annoying, there's async wrappers, for example embassy-net. where you can spawn one async task per connection 22:28:31
@dirbaio:matrix.orgdirbaioall tasks still running in a single-thread executor22:28:34
@dirbaio:matrix.orgdirbaioso no mutex overheads22:28:37
@talizkahn:matrix.orgtalizkahn Cool, thanks for the pointers 22:42:06
18 Feb 2024
@embassy-bot:matrix.orgsmoltcp-bot

New PR: feat(congestion control): add CongestionControler tairt and example impl

11:15:20
19 Feb 2024
@oddstr13:matrix.orgOddstr13 changed their profile picture.23:59:04
24 Feb 2024
@lovesabugopeludo:matrix.org@lovesabugopeludo:matrix.org changed their display name from menino putinha de 14 anos to Love pedomoms (14).21:47:43
25 Feb 2024
@lovesabugopeludo:matrix.org@lovesabugopeludo:matrix.org left the room.17:52:22
@whitequark:matrix.orgCatherine banned @lovesabugopeludo:matrix.org@lovesabugopeludo:matrix.org.17:52:26
3 Mar 2024
@murjw:matrix.org@murjw:matrix.org joined the room.05:51:52
@murjw:matrix.org@murjw:matrix.org left the room.06:59:50
4 Mar 2024
@eddy345:matrix.org@eddy345:matrix.org left the room.11:40:25
@avery71:matrix.org@avery71:matrix.org joined the room.21:24:08
@avery71:matrix.org@avery71:matrix.orgare there any examples of using smoltcp to make a router? I do see that there is a routing struct.21:27:12
@dirbaio:matrix.orgdirbaiosmoltcp supports a single network interface only21:29:25
@dirbaio:matrix.orgdirbaio(you can use multiple interfaces by creating multiple smoltcp instances, but they're separate universes: it won't route things between the interfaces for you)21:30:12
@avery71:matrix.org@avery71:matrix.orgI think I can make it work21:32:51
@avery71:matrix.org@avery71:matrix.orgwhat about a dhcp server? I do see the example for a dhcp client21:36:19
@dirbaio:matrix.orgdirbaionot supported21:37:25

Show newer messages


Back to Room ListRoom Version: 6