Stefan Holzmüller
|
UDP sockets can not be disconnected on QNX. AF_UNSPEC not supported.
|
Stefan Holzmüller
11/02/2015 10:03 AM
post114862
|
UDP sockets can not be disconnected on QNX. AF_UNSPEC not supported.
The attached program when compiled and linked for qnx6.5
$ ./tmp/UDP 10.131.1.141
before connect
Local binding: address=10.131.1.141, port=65426
before disconnect
connect failed: Address family not supported by protocol family
Local binding: address=0.0.0.0, port=65426
before disconnect -2222222222222222
Local binding: address=10.131.1.141, port=65426
bind again
Local binding: address=10.131.1.141, port=65426
while this runs fine on Linux.
Can you please let me know if its possible to disconnect from a UDP socket on qnx6.5 ?
|
|
|