socket creation problem

hello ! i just compiled Everybuddy (a free universal messaging system) on QNX, with GTK.
the problem is that the program failes to create a socket. if anybody has some experience
with socket programming, please help me out. thank you.
godisalone@k.ro