How to assign the parameters for IpModemGateway used by SMSLib?

[size=12]
I want to use SMSLib in java application to send a message to a cell phone(iPhone 3GS in my case), I have also a gateway in order to send the message through, The command used in that is :

it's easy to write(id, manufacturer, model), But, i want to know how to assign the ipName and the ipPort, i assigned the ipName as the ip of the gateway, is that true? and if yes how can i assign the ipPort?[/size]