Cleaned ip_address file

unix_test
anulax1225 ago%!(EXTRA string=1 year)
parent 05855a2d50
commit f384c3fbb3
  1. 6
      bakanet/src/bakanet/ip_address.cpp

@ -1,4 +1,5 @@
#include "ip_address.h"
#include <string.h>
namespace Bk::Net {
IpAddress::IpAddress(const char* ip)
@ -6,9 +7,4 @@ namespace Bk::Net {
{
if (inet_pton(AF_INET, str, &bytes) <= 0) perror("Bad IP");
}
void IpAddress::from_dns(char* dns)
{
}
}
Loading…
Cancel
Save