Overview
Features
Download
Documentation
Community
Add-Ons & Services

UDP example from slides throws exception

A general discussion forum.

UDP example from slides throws exception

Postby sonicth » 17 Feb 2013, 00:17

If a person, responsible for creating the slides is reading this, please update them accordingly

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? ;)
sonicth
 
Posts: 1
Joined: 17 Feb 2013, 00:01

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 5 guests

cron