Forum > Unix

UDP Client is not working

<< < (2/2)

Laksen:
Port and BoundPort can not be the same for the client. The server binds to that Port already, and you can't bind two UDP sockets to the same port on the same computer.

Change the BoundPort to something else

rotation:
And again error with changed Boundport

Laksen:
Did you add -dUseCThreads to your projects Custom options?

rotation:
Sorry, I am new user in Lazarus, how i can to add that -dUseCThreads?

Edit: I found a topic:
http://forum.lazarus.freepascal.org/index.php/topic,8852.msg43783.html#msg43783

rotation:
Thank you everyone for your support!
It works exactly :)

Navigation

[0] Message Index

[*] Previous page

Go to full version