#include <sys/socket.h>
#include <sys/ioctl.h>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "ConnectedUDPSocketHandle.mpp"
#define prefix_
{
int sock = ::socket(PF_INET,SOCK_DGRAM,0);
if (sock < 0)
- throw SystemException(errno);
+ throwErrno();
body().fd(sock);
}
{
int sock = ::socket(PF_INET6,SOCK_DGRAM,0);
if (sock < 0)
- throw SystemException(errno);
+ throwErrno();
body().fd(sock);
}