How to fixed problem in networksocketAPI

we have problem since before this and kinda stuck to fixed it
i will attached our problem
TQ hope could get a fast reply