Building and running the code from the Network slides, DatagramSocket ctor throws an exception on my computer
- Code: Select all
Poco::Net::SocketAddress sa("localhost", 514);
Poco::Net::DatagramSocket dgs(sa);
The code below works, at least with the Mac OS 10.6 ports build (1.4.3p1, Revision 1)
- Code: Select all
Poco::Net::DatagramSocket dgs;
Poco::Net::SocketAddress sa("localhost", 514);
dgs.connect(sa);
Also why would you not use a higher port number, accessible to common user?





