blast007 | if I understand correctly, each player has a NetHandler object assigned to them. That currently has a udpSocket variable, so the idea was that I set that for each NetHandler instance based on which interface they connected with. | 00:01 |
---|---|---|
blast007 | I'm making a NetManager class that handles the creation of both the TCP and UDP sockets. Right now we create the TCP socket in bzfs.cxx but create the UDP socket in NetHandler.cxx | 00:02 |
TimRiker | maybe I'm missingit, but all I see NetHandler hold is the player uaddr. | 00:07 |
TimRiker | We should reduce the places that refer to addresses, and move the interfaces over to processing sockaddr as a unit. ie: to track a cidr mask, pass in a sockaddr plus mask and another sockaddr. don't address sin_addr outside of NetHandler.. | 00:09 |
blast007 | udpSocket is a static variable in the NetHandler class and we use that to send/receive. We send to the uaddr set in each NetHandler instance. | 00:11 |
blast007 | my thought is to make udpSocket *not* static so that each NetHandler instance would use the appropriate socket | 00:12 |
TimRiker | if there are multiple -i options, there should be multiple udpSockets too. Makes sense.] | 00:14 |
*** Cobra_Fast_ is now away: vacant | 00:20 | |
*** Cobra_Fast_ is back | 00:20 | |
TimRiker | does bzadmin start up a udp channel at all? | 00:21 |
blast007 | I don't think it does | 00:21 |
TimRiker | I don't recall if it gets all game movement, shot events, etc. If so, it should probably start up udp. At least it would be useful to test udp. | 00:26 |
blast007 | I imagine it gets all the data and just ignores a lot of it | 00:29 |
JunkoAkemi[m] | To add a bit of details, there was some work/plans for bzadmin to properly identified to avoid sending unused data to it, with the option of full data to be sent to it. | 00:35 |
JunkoAkemi[m] | IIRC, there would have been bzadmin type connections vs regular client connections. (TUI observer vs client with GUI.) | 00:36 |
*** Cobra_Fast_ is now away: vacant | 00:43 | |
*** Cobra_Fast_ is back | 00:43 | |
*** Cobra_Fast_ is now away: vacant | 01:16 | |
*** Cobra_Fast_ is back | 01:16 | |
*** yuitimothy is back | 01:35 | |
*** Zehra <Zehra!~Yukari@user/yukari> has joined #bzflag | 01:47 | |
TimRiker | in what conditions does MsgAdminInfo have anything other than one IP? | 01:52 |
blast007 | if the second argument to sendIPUpdate() is -1 | 01:57 |
BZNotify | master @ bzflag: timriker pushed 1 commit (https://github.com/BZFlag-Dev/bzflag/compare/ae5c588db97c...3a120d89885f): | 02:16 |
BZNotify | master @ bzflag: timriker 3a120d: kill 17200 code (https://github.com/BZFlag-Dev/bzflag/commit/3a120d89885f2e68129f5dd499b435a68485806c) | 02:16 |
*** QuantumBeep <QuantumBeep!~QuantumBe@2600:1702:4bf0:1cf0:8ca7:88a0:705e:74c9> has joined #bzflag | 02:28 | |
*** bryjen <bryjen!~bryjen@2603:6010:7a04:7681:ad4:cff:fe30:e67> has joined #bzflag | 02:33 | |
*** Zehra <Zehra!~Yukari@user/yukari> has quit IRC (Remote host closed the connection) | 02:52 | |
*** Zehra <Zehra!~Yukari@user/yukari> has joined #bzflag | 02:52 | |
*** QuantumBeep <QuantumBeep!~QuantumBe@2600:1702:4bf0:1cf0:8ca7:88a0:705e:74c9> has quit IRC (Ping timeout: 260 seconds) | 04:12 | |
*** bryjen <bryjen!~bryjen@2603:6010:7a04:7681:ad4:cff:fe30:e67> has quit IRC (Quit: Leaving) | 04:48 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 255 seconds) | 05:12 | |
*** Zehra <Zehra!~Yukari@user/yukari> has quit IRC (Quit: Quit.) | 05:12 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 05:30 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 255 seconds) | 05:43 | |
*** L4m3r <L4m3r!~L4m3r@user/L4m3r> has quit IRC (Ping timeout: 255 seconds) | 05:51 | |
*** FastLizard4 is back | 06:02 | |
*** FastLizard4 is now away: AWAY from keyboard | 06:12 | |
*** ERGOM <ERGOM!~ERGOM@ip72-222-165-10.ph.ph.cox.net> has joined #bzflag | 07:05 | |
*** ERGOM <ERGOM!~ERGOM@ip72-222-165-10.ph.ph.cox.net> has left #bzflag | 07:07 | |
*** ERGOM <ERGOM!~ERGOM@ip72-222-165-10.ph.ph.cox.net> has joined #bzflag | 07:07 | |
ERGOM | Are there people actually on here? | 07:07 |
Optic_Delusion_ | sometimes | 07:15 |
*** ERGOM <ERGOM!~ERGOM@ip72-222-165-10.ph.ph.cox.net> has left #bzflag | 07:23 | |
*** ERGOM <ERGOM!~ERGOM@ip72-222-165-10.ph.ph.cox.net> has joined #bzflag | 07:23 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer) | 08:42 | |
*** FastLizard4 is back | 10:10 | |
*** FastLizard4 is now away: AWAY from keyboard | 10:31 | |
blast007 | ERGOM: yeah, the channel has been quite active lately with development discussions | 10:59 |
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life) | 11:15 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 12:09 | |
blast007 | TimRiker: this is the start of my experiment: https://github.com/blast007/ipv6-sandbox | 12:11 |
blast007 | so far just creates the sockets and sits there | 12:12 |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Read error: Connection reset by peer) | 13:33 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 13:34 | |
JunkoAkemi[m] | ERGOM: Yep. IRC kinda now falls somewhere in between forums and instant messaging types of conversations/discussions. | 13:53 |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Read error: Connection reset by peer) | 13:54 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag | 13:59 | |
*** QuantumBeep <QuantumBeep!~QuantumBe@2600:1702:4bf0:1cf0:2c3c:639c:17c8:f8a1> has joined #bzflag | 15:25 | |
*** QuantumBeep <QuantumBeep!~QuantumBe@2600:1702:4bf0:1cf0:2c3c:639c:17c8:f8a1> has quit IRC (Client Quit) | 15:25 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag | 16:11 | |
*** Cobra_Fast_ is now away: vacant | 16:16 | |
*** Cobra_Fast_ is back | 16:17 | |
*** L4m3r <L4m3r!~L4m3r@user/L4m3r> has joined #bzflag | 18:01 | |
*** Flash <Flash!~Flash@user/flash> has quit IRC (Read error: Connection timed out) | 18:28 | |
*** Flash <Flash!~Flash@user/flash> has joined #bzflag | 18:29 | |
*** FastLizard4 is back | 20:08 | |
*** Cobra_Fast_ is now away: vacant | 21:01 | |
*** Cobra_Fast_ is back | 21:01 | |
*** FastLizard4 is now away: AWAY from keyboard | 21:12 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!