There doesn't seem to be any method of Socket, or ListenSocket that will allow me to conditionally accept connections.
When I recieve a SYN, I want to be able decide if I want this connection depending on the source, if I send a SYN/ACK back (accept connection) or a RST (a forceful reject).
Is there any want to achieve this? Unfortunately, I can't just immediate close the connection after the accept, it needs to not be opened at all. I would also like to avoid having to work with it as a RAW socket.