Forum Discussion
Altera_Forum
Honored Contributor
12 years agoModifying SSS example to use SOCK_DGRAM
I made a trivial change today to the Simple Socket Server example that comes with the altera software. I changed the SOCK_STREAM to SOCK_DGRAM. Now the listen() fails for some reason, but errno is ...
Altera_Forum
Honored Contributor
12 years agoYou cannot use listen or accept with message-oriented (=dgram) sockets.
They makes sense only with stream sockets which are connection-oriented