kumuda
Posts: 8
Joined: Thu Feb 20, 2020 1:07 pm

ERROR on binding: Address already in use

Fri Mar 13, 2020 9:21 am

Hi,

I am implementing TCP/IP socket server program in RPI model B
i am getting binding error when server only terminated the code or network disconnected but client only disconnected means this error is not coming how to resolve this problem
ERROR on binding: Address already in use

My application is if client is connected to RPI access point means server should ready to read the data if network disconnect means server should stop reading
how to achieve this and is it possible to make read in callback mod, if it is there please provide any example code

Please help me in this

deepo
Posts: 583
Joined: Sun Dec 30, 2018 8:36 pm
Location: Denmark

Re: ERROR on binding: Address already in use

Fri Mar 13, 2020 6:15 pm

Try "netstat -a" to see what occupies the port in question.

/Mogens

Return to “Beginners”