Open puts the Bind into a listening state on a given port and reports the actual port that it bound to. Passing zero results in a random selection. fns is the set of functions that will be called to receive packets.
(port uint16)
| 36 | // port that it bound to. Passing zero results in a random selection. |
| 37 | // fns is the set of functions that will be called to receive packets. |
| 38 | Open(port uint16) (fns []ReceiveFunc, actualPort uint16, err error) |
| 39 | |
| 40 | // Close closes the Bind listener. |
| 41 | // All fns returned by Open must return net.ErrClosed after a call to Close. |
no outgoing calls