socket operations
bind error fix later