server side for reliable socket