My bad, seems like I just used the wrong socket api call