Daij-Djan
asked on
WSAAddressToString
I have a string and an int
string = address (IP or name)
int = port
I need to convert it so it can be used by various winsock functions.
Question is: How
string = address (IP or name)
int = port
I need to convert it so it can be used by various winsock functions.
Question is: How
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks. :)
Well, if you checked MSDN, you've certainly found about WSAStringToAddress()
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/wsastringtoaddress_2.asp
I like the "old" way though.
Well, if you checked MSDN, you've certainly found about WSAStringToAddress()
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/wsastringtoaddress_2.asp
I like the "old" way though.
ASKER
I did ;) but after I asked here - In the end I took your code so you earned the points
ASKER