i have a Server socket using an async functions to allow a client socket to connect. And when i call Socket.EndAccept() it returns a copy of the client Socket,
i'd like some way for the client socket connecting to get a copy of the Server socket
is this possible?
EDIT: question was rather forumlated weird, sorry, found a solution to the problem though.
The problem was that when i tried to send reply开发者_StackOverflow back to the client i used the server socket instead of the socket returned from Socket.endAccept()
Thank you
ehh? You just used it when calling Socket.EndAccept()
?
Socket
is the server socket.
精彩评论