Commit 9758634
authored
Allow UDP to bind to the same ip/port (#188)
This pull request refactors how socket options are set for UDP sockets,
improving consistency and reliability in both the main UDP
implementation and the emit path. The changes focus on ensuring proper
reuse of addresses and ports, and on clarifying when broadcast options
are set.1 parent d7b302a commit 9758634
2 files changed
Lines changed: 28 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
211 | 207 | | |
212 | 208 | | |
213 | 209 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
227 | 214 | | |
| 215 | + | |
228 | 216 | | |
229 | 217 | | |
230 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
106 | 124 | | |
107 | 125 | | |
108 | 126 | | |
| |||
145 | 163 | | |
146 | 164 | | |
147 | 165 | | |
148 | | - | |
149 | 166 | | |
150 | 167 | | |
151 | 168 | | |
| |||
0 commit comments