hiimjoey11 Posted November 4, 2014 Share Posted November 4, 2014 (edited) Am i using this function incorrectly? In my hosts file i have 192.168.1.1 test Then in autoit i tried $hostsName = TCPNameToIP("test") MsgBox(0,"", $hostName) And it returns blank? Edited November 4, 2014 by hiimjoey11 Link to comment Share on other sites More sharing options...
Solution MikahS Posted November 4, 2014 Solution Share Posted November 4, 2014 (edited) Did you use TCPStartup() above TCPNameToIP? EDIT: Glad you figured it out Edited November 4, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
hiimjoey11 Posted November 4, 2014 Author Share Posted November 4, 2014 Did you use TCPStartup() above TCPNameToIP? haha i actually just re-read the help file and was going to come back to mark it as resolved.. Thank you for helping! Link to comment Share on other sites More sharing options...
MikahS Posted November 4, 2014 Share Posted November 4, 2014 My pleasure Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now