getip doesn't work properly
#7

Quote:
Originally Posted by saffierr
Посмотреть сообщение
::Nevermind::
It's fixed!
I just had to put %s instead of %i.
But can you explain me, How should I know ip is a %s(tring) and not %i(nteger) because integer has to do with numbers, but so does an ip lol.
Because it contains dots, like "127.0.0.1", while an integer would only be able to hold "127001", which is incorrect.
Reply


Messages In This Thread
getip doesn't work properly - by saffierr - 28.03.2015, 02:23
Re: getip doesn't work properly - by Jefff - 28.03.2015, 02:31
Re: getip doesn't work properly - by saffierr - 28.03.2015, 02:39
Re: getip doesn't work properly - by Jefff - 28.03.2015, 02:41
Re: getip doesn't work properly - by saffierr - 28.03.2015, 02:41
Respuesta: Re: getip doesn't work properly - by Juand - 28.03.2015, 02:46
Re: getip doesn't work properly - by CalvinC - 28.03.2015, 09:58

Forum Jump:


Users browsing this thread: 1 Guest(s)