Removed ip_ver parameter
I removed this because I realized I could just check the IP version inside the constructor. The Sock constructor now checks the address passed to it. Like before, if the address is neither v4 nor v6, an exception is thrown. Since the Server and Client constructors call the Sock constructor, no change was required in these files, except passing the right number of parameters.master
parent
764f343f5d
commit
0058e7e411
Loading…
Reference in New Issue