Rampage
Rampage

Reputation: 245

Connected socket information

Hallo, how it is possible to get information form connected socket. I need to get address of server, the socket is connected to and port. Is this possible to get?

I need to figure it out in WSPSend, to block it or not. So i cant remember it form previous actions(like socket(),connect() etc..)

thx.

Upvotes: 1

Views: 173

Answers (1)

Luke
Luke

Reputation: 11421

getpeername

Upvotes: 2

Related Questions