Structs§
- Since UDP is connectionless, as a server, it doesn’t know how to reply simply using the
Write
method. So, to make it work,disconnectedPacketConn
will infer the last packet that it reads as the reply address forWrite
Write
method. So, to make it work, disconnectedPacketConn
will infer the last packet that it reads as the reply address for Write