A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using sendto) no address was supplied. Any other type of operation might also return this error - for example, setsockoptsetting SO_KEEPALIVE if the connection has been reset.
> 이수정 wrote:
> >
> > 10057 에러가 무슨 에러 인가요??
> >
> > Getpeername 어쩌고 하는데..
> >
> > 무슨 말인가요??
> >
>
> WSAENOTCONN 10057 Socket is not connected.
> Socket이 연결되지 않았는데 뭘 보내려고할때 나는 에라더라구요.
>
WSAENOTCONN (10057)
Socket is not connected.
A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using sendto) no address was supplied. Any other type of operation might also return this error - for example, setsockoptsetting SO_KEEPALIVE if the connection has been reset.